mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-26 08:22:37 +01:00
Update for 0.52.0. This is a test version, which brings the Appearance
section to WPrefs for testing purposes.
This commit is contained in:
@@ -169,8 +169,7 @@ execMenuCommand(WMenu *menu, WMenuEntry *entry)
|
||||
break;
|
||||
|
||||
case MC_PROPERTIES:
|
||||
if (wwin->wm_class || wwin->wm_instance)
|
||||
wShowInspectorForWindow(wwin);
|
||||
wShowInspectorForWindow(wwin);
|
||||
break;
|
||||
|
||||
case MC_HIDE:
|
||||
@@ -581,7 +580,7 @@ updateMenuForWindow(WMenu *menu, WWindow *wwin)
|
||||
|
||||
wMenuSetEnabled(menu, MC_DUMMY_MOVETO, !IS_OMNIPRESENT(wwin));
|
||||
|
||||
if ((wwin->wm_class || wwin->wm_instance) && !wwin->flags.inspector_open) {
|
||||
if (!wwin->flags.inspector_open) {
|
||||
wMenuSetEnabled(menu, MC_PROPERTIES, True);
|
||||
} else {
|
||||
wMenuSetEnabled(menu, MC_PROPERTIES, False);
|
||||
|
||||
Reference in New Issue
Block a user