From: Peter v. de W. <pwe...@a-...> - 2010-12-29 16:50:51
|
The illume indicator would also benefit of the less deep gadcon menu. Since there is no quick check for that situation, make the compact menu the default instead. diff --git a/e/src/bin/e_gadcon.c b/e/src/bin/e_gadcon.c index 2fb9f69..e413f33 100644 --- a/e/src/bin/e_gadcon.c +++ b/e/src/bin/e_gadcon.c @@ -1441,12 +1441,7 @@ e_gadcon_client_util_menu_items_append(E_Gadcon_Client *gcc, E_Menu *menu_main, e_menu_item_submenu_set(mi, menu_gadget); if (gcc->gadcon->menu_attach.func) - { - if ((gcc->gadcon->shelf) || (gcc->gadcon->toolbar)) - gcc->gadcon->menu_attach.func(gcc->gadcon->menu_attach.data, gcc, menu_main); - else - gcc->gadcon->menu_attach.func(gcc->gadcon->menu_attach.data, gcc, menu_gadget); - } + gcc->gadcon->menu_attach.func(gcc->gadcon->menu_attach.data, gcc, menu_main); } EAPI void -- 1.7.2.3 |