Lost Windows removal from wayland
Summary: On wayland there is no need for a Lost Windows option in the menu. So remove that. Test Plan: Compile and run on wayland. Reviewers: raster, bu5hm4n, devilhorns Subscribers: cedric, zmike Tags: #enlightenment-git Differential Revision: https://phab.enlightenment.org/D8804
This commit is contained in:
parent
ea865d7651
commit
d4ae97b50e
|
@ -214,6 +214,9 @@ e_int_menus_main_new(void)
|
||||||
e_menu_item_submenu_set(mi, subm);
|
e_menu_item_submenu_set(mi, subm);
|
||||||
e_object_data_set(E_OBJECT(subm), dat);
|
e_object_data_set(E_OBJECT(subm), dat);
|
||||||
|
|
||||||
|
#ifndef HAVE_WAYLAND
|
||||||
|
if (e_comp->comp_type == E_PIXMAP_TYPE_X)
|
||||||
|
{
|
||||||
subm = e_int_menus_lost_clients_new();
|
subm = e_int_menus_lost_clients_new();
|
||||||
e_object_data_set(E_OBJECT(subm), dat);
|
e_object_data_set(E_OBJECT(subm), dat);
|
||||||
dat->lost_clients = subm;
|
dat->lost_clients = subm;
|
||||||
|
@ -221,6 +224,8 @@ e_int_menus_main_new(void)
|
||||||
e_menu_item_label_set(mi, _("Lost Windows"));
|
e_menu_item_label_set(mi, _("Lost Windows"));
|
||||||
e_util_menu_item_theme_icon_set(mi, "preferences-windows-lost");
|
e_util_menu_item_theme_icon_set(mi, "preferences-windows-lost");
|
||||||
e_menu_item_submenu_set(mi, subm);
|
e_menu_item_submenu_set(mi, subm);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
l = _e_int_menus_augmentation_find("main/3");
|
l = _e_int_menus_augmentation_find("main/3");
|
||||||
if (l) _e_int_menus_augmentation_add(m, l);
|
if (l) _e_int_menus_augmentation_add(m, l);
|
||||||
|
|
Loading…
Reference in New Issue