changeset 431:a7bee8ac9309

- Set the File menu label to hide when the File menu button is shown.
author jcid
date Wed, 22 Oct 2008 20:05:38 +0200
parents b296fd9d8752
children 914b4bc82300
files ChangeLog src/menu.cc
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Oct 22 19:44:40 2008 +0200
+++ b/ChangeLog	Wed Oct 22 20:05:38 2008 +0200
@@ -16,6 +16,8 @@
 +- Allowed compilation with older machines by removing a few C99isms.
  - Added use of inttypes.h when stdint.h isn't found.
    Patches: Dan Fandrich
++- Set the File menu label to hide when the File menu button is shown.
+   Patch: Jorge Arellano
 
 dw
 
--- a/src/menu.cc	Wed Oct 22 19:44:40 2008 +0200
+++ b/src/menu.cc	Wed Oct 22 20:05:38 2008 +0200
@@ -481,6 +481,7 @@
       pm->end();
    }
 
+   pm->label(wid->visible() ? NULL : "File");
    a_Timeout_add(0.0, Menu_popup_cb2, (void *)pm);
 }