mirror of
https://github.com/gryf/wmaker.git
synced 2026-04-09 01:13:33 +02:00
wmaker: fix EmulateAppIcon index from advanced_option
This patch is fixing the EmulateAppIcon index which should be moreChk[8], moreChk[7] used until now is for DontSaveSession attribute.
This commit is contained in:
committed by
Carlos R. Mafra
parent
ee9fd77a56
commit
5b631cad93
@@ -1443,10 +1443,10 @@ static void create_tab_app_specific(WWindow *wwin, InspectorPanel *panel, int fr
|
|||||||
|
|
||||||
if (WFLAGP(wwin, emulate_appicon)) {
|
if (WFLAGP(wwin, emulate_appicon)) {
|
||||||
WMSetButtonEnabled(panel->appChk[1], False);
|
WMSetButtonEnabled(panel->appChk[1], False);
|
||||||
WMSetButtonEnabled(panel->moreChk[7], True);
|
WMSetButtonEnabled(panel->moreChk[8], True);
|
||||||
} else {
|
} else {
|
||||||
WMSetButtonEnabled(panel->appChk[1], True);
|
WMSetButtonEnabled(panel->appChk[1], True);
|
||||||
WMSetButtonEnabled(panel->moreChk[7], False);
|
WMSetButtonEnabled(panel->moreChk[8], False);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if ((wwin->transient_for != None && wwin->transient_for != scr->root_win)
|
if ((wwin->transient_for != None && wwin->transient_for != scr->root_win)
|
||||||
@@ -1455,7 +1455,7 @@ static void create_tab_app_specific(WWindow *wwin, InspectorPanel *panel, int fr
|
|||||||
else
|
else
|
||||||
tmp = True;
|
tmp = True;
|
||||||
|
|
||||||
WMSetButtonEnabled(panel->moreChk[7], tmp);
|
WMSetButtonEnabled(panel->moreChk[8], tmp);
|
||||||
|
|
||||||
WMSetPopUpButtonItemEnabled(panel->pagePopUp, 4, False);
|
WMSetPopUpButtonItemEnabled(panel->pagePopUp, 4, False);
|
||||||
panel->appFrm = NULL;
|
panel->appFrm = NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user