emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: menu-bar: disable items when no frame visible


From: Juri Linkov
Subject: Re: menu-bar: disable items when no frame visible
Date: Fri, 16 Dec 2005 14:55:34 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

>> Below is a fix that sets menu-updating-frame correctly for three
>> platforms (X, Mac, W32), and also doesn't disable menu items
>> permanently on tty and non-toolkit X builds:
>
> If you fixed the code to set menu-updating-frame correctly for all
> platforms, then why did you need to change menu-bar.el as well?

It sets menu-updating-frame on platforms where menus can be displayed
in a separate frame.  The change in menu-bar.el is needed for builds
like tty and non-toolkit where menu bars are displayed in the same
frame.  This change will also work on platforms with menus in a
separate frame because menu-updating-frame is always non-nil on them.

-- 
Juri Linkov
http://www.jurta.org/emacs/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]