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.

#13
This commit is contained in:
Kim Woelders 2023-11-25 14:55:47 +01:00
parent c9ab3da348
commit 445b0449d1
1 changed files with 0 additions and 4 deletions

View File

@ -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);