From 367b87e1cb1fa26981d1fe3fa4ca8f12b4b6296c Mon Sep 17 00:00:00 2001 From: Gustavo Sverzut Barbieri Date: Tue, 25 May 2010 18:22:48 +0000 Subject: [PATCH] don't show "Lost Windows" on main menu. It is already in "Windows" submenu. This makes the first level of the menu simpler. If you want the "Lost windows" on the main menu back, make sure you remove the "if (dat)" branch inside _e_int_menus_clients_pre_cb() otherwise you get duplicated menus. SVN revision: 49199 --- src/bin/e_int_menus.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bin/e_int_menus.c b/src/bin/e_int_menus.c index cb72e1e93..81479ef44 100644 --- a/src/bin/e_int_menus.c +++ b/src/bin/e_int_menus.c @@ -154,6 +154,7 @@ e_int_menus_main_new(void) e_menu_item_submenu_set(mi, subm); e_object_data_set(E_OBJECT(subm), dat); +#if 0 // lost windows already handled inside "Windows" from main menu. subm = e_int_menus_lost_clients_new(); e_object_data_set(E_OBJECT(subm), dat); dat->lost_clients = subm; @@ -161,6 +162,7 @@ e_int_menus_main_new(void) e_menu_item_label_set(mi, _("Lost Windows")); e_util_menu_item_theme_icon_set(mi, "preferences-windows-lost"); e_menu_item_submenu_set(mi, subm); +#endif l = _e_int_menus_augmentation_find("main/3"); if (l) _e_int_menus_augmentation_add(m, l);