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:
parent
c9ab3da348
commit
445b0449d1
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue