From 445b0449d1547d72cd086ebeaf277a972d03c30b Mon Sep 17 00:00:00 2001 From: Kim Woelders Date: Sat, 25 Nov 2023 14:55:47 +0100 Subject: [PATCH] Remove "Close" option from iconbox/systray menus This prevents users from inadvertently destroying the iconbox(/systray) thinking that it was the iconified application that would be closed. To actually close the iconbox/systray just use the regular Window options menu. https://git.enlightenment.org/e16/e16/issues/13 --- src/container.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/container.c b/src/container.c index a56008d7..40b128be 100644 --- a/src/container.c +++ b/src/container.c @@ -1186,10 +1186,6 @@ _ContainerShowMenu(Container *ct) mi = MenuItemCreate(_("Settings..."), NULL, s, NULL); MenuAddItem(m, mi); - Esnprintf(s, sizeof(s), "wop %#x cl", WinGetXwin(ct->win)); - mi = MenuItemCreate(_("Close"), NULL, s, NULL); - MenuAddItem(m, mi); - if (ct->type == IB_TYPE_ICONBOX) { mi = MenuItemCreate(_("Create new iconbox"), NULL, "ibox new", NULL);