1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-04 04:44:16 +01:00

WPrefs: Fix single click activation button in Icon preferences

Forgot to connect the button to the corresponding defaults key so it
was not working properly.
This commit is contained in:
BALATON Zoltan
2013-02-08 18:41:02 +01:00
committed by Carlos R. Mafra
parent a23e42639a
commit a657fafcce

View File

@@ -99,8 +99,8 @@ static void showData(_Panel * panel)
char *def = "blh";
WMSetButtonSelected(panel->arrB, GetBoolForKey("AutoArrangeIcons"));
WMSetButtonSelected(panel->omnB, GetBoolForKey("StickyIcons"));
WMSetButtonSelected(panel->sclB, GetBoolForKey("SingleClickLaunch"));
str = GetStringForKey("IconPosition");
if (!str)
@@ -287,6 +287,7 @@ static void storeData(_Panel * panel)
SetBoolForKey(WMGetButtonSelected(panel->arrB), "AutoArrangeIcons");
SetBoolForKey(WMGetButtonSelected(panel->omnB), "StickyIcons");
SetBoolForKey(WMGetButtonSelected(panel->sclB), "SingleClickLaunch");
SetIntegerForKey(WMGetPopUpButtonSelectedItem(panel->sizeP) * 8 + 24, "IconSize");