diff options
author | Matthias Clasen <maclas@gmx.de> | 2003-09-30 20:55:24 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2003-09-30 20:55:24 +0000 |
commit | 57f13d815ddbdb0d001fa92c823d44744b3577e4 (patch) | |
tree | 132e7f9da4eaa9e59fb3443c548db4b714192871 /ChangeLog.pre-2-6 | |
parent | 039c6b3bb16343428708ef827a937a7ac64a44a0 (diff) | |
download | gtk+-57f13d815ddbdb0d001fa92c823d44744b3577e4.tar.gz |
Test handling of empty menus.
2003-09-30 Matthias Clasen <maclas@gmx.de>
* tests/merge-*.ui:
* tests/testmerge.c: Test handling of empty menus.
* gtk/gtkuimanager.c (_gtk_menu_is_empty): New function to determine
whether a menu is empty. Used in gtkaction.c.
(update_smart_separators): Also update the visibility of empty menus.
(update_node): When creating a new menu proxy, insert an "Empty" menu
item which only gets shown if the menu is empty.
* gtk/gtkaction.c (gtk_action_class_init): Document the meaning of
"is_important" for menu proxies.
(_gtk_action_sync_menu_visible): New function to sync the visibility
of menu proxies. Used in gtkuimanager.c.
(gtk_action_sync_visible): New function to sync the visibility of
proxies.
Diffstat (limited to 'ChangeLog.pre-2-6')
-rw-r--r-- | ChangeLog.pre-2-6 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 9c226228cb..55cb342d15 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,21 @@ +2003-09-30 Matthias Clasen <maclas@gmx.de> + + * tests/merge-*.ui: + * tests/testmerge.c: Test handling of empty menus. + + * gtk/gtkuimanager.c (_gtk_menu_is_empty): New function to determine + whether a menu is empty. Used in gtkaction.c. + (update_smart_separators): Also update the visibility of empty menus. + (update_node): When creating a new menu proxy, insert an "Empty" menu + item which only gets shown if the menu is empty. + + * gtk/gtkaction.c (gtk_action_class_init): Document the meaning of + "is_important" for menu proxies. + (_gtk_action_sync_menu_visible): New function to sync the visibility + of menu proxies. Used in gtkuimanager.c. + (gtk_action_sync_visible): New function to sync the visibility of + proxies. + Tue Sep 30 21:43:34 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtkcombobox.c (gtk_combo_box_menu_button_press): set |