@@ -109,22 +109,22 @@ bool buttonCB(void *p,void* ud)
109109
110110 prefs.prefsMap =
111111 {
112- {prefs. LFSTK_hashFromKey (" icontheme" ),{TYPESTRING," icontheme" ,themeEditBox->LFSTK_getCStr (),false ,0 }},
113- {prefs. LFSTK_hashFromKey (" iconsize" ),{TYPEINT," iconsize" ," " ,false ,atoi (iconSizeEditBox->LFSTK_getCStr ())}},
114- {prefs. LFSTK_hashFromKey (" gridsize" ),{TYPEINT," gridsize" ," " ,false ,atoi (gridSizeEditBox->LFSTK_getCStr ())}},
115- {prefs. LFSTK_hashFromKey (" gridborderleft" ),{TYPEINT," gridborderleft" ," " ,false ,atoi (borderLeftEditBox->LFSTK_getCStr ())}},
116- {prefs. LFSTK_hashFromKey (" gridborderrite" ),{TYPEINT," gridborderrite" ," " ,false ,atoi (borderRightEditBox->LFSTK_getCStr ())}},
117- {prefs. LFSTK_hashFromKey (" refreshrate" ),{TYPEINT," refreshrate" ," " ,false ,atoi (refreshEditBox->LFSTK_getCStr ())}},
118- {prefs. LFSTK_hashFromKey (" termcommand" ),{TYPESTRING," termcommand" ,termCommandEditBox->LFSTK_getCStr (),false ,0 }},
119- {prefs. LFSTK_hashFromKey (" showextension" ),{TYPEBOOL," showextension" ," " ,showSuffixCheck->LFSTK_getValue (),0 }},
120- {prefs. LFSTK_hashFromKey (" fontface" ),{TYPESTRING," fontface" ,fontEditBox->LFSTK_getCStr (),false ,0 }},
121- {prefs. LFSTK_hashFromKey (" labelforeground" ),{TYPESTRING," labelforeground" ,labelColurFEditBox->LFSTK_getCStr (),false ,0 }},
122- {prefs. LFSTK_hashFromKey (" labelbackground" ),{TYPESTRING," labelbackground" ,labelColurBEditBox->LFSTK_getCStr (),false ,0 }},
123- {prefs. LFSTK_hashFromKey (" labelalpha" ),{TYPESTRING," labelalpha" ,labelAlphaColurEditBox->LFSTK_getCStr (),false ,0 }},
124- {prefs. LFSTK_hashFromKey (" includelist" ),{TYPESTRING," includelist" ,includeEditBox->LFSTK_getCStr (),false ,0 }},
125- {prefs. LFSTK_hashFromKey (" excludelist" ),{TYPESTRING," excludelist" ,excludeEditBox->LFSTK_getCStr (),false ,0 }},
126- {prefs. LFSTK_hashFromKey (" doubleclickexe" ),{TYPEBOOL," doubleclickexe" ," " ,clickExeCheck->LFSTK_getValue (),0 }},
127- {prefs. LFSTK_hashFromKey (" desknames" ),{TYPESTRING," desknames" ,desktopNamesEdit->LFSTK_getCStr (),false ,0 }},
112+ {LFSTK_UtilityClass:: LFSTK_hashFromKey (" icontheme" ),{TYPESTRING," icontheme" ,themeEditBox->LFSTK_getCStr (),false ,0 }},
113+ {LFSTK_UtilityClass:: LFSTK_hashFromKey (" iconsize" ),{TYPEINT," iconsize" ," " ,false ,atoi (iconSizeEditBox->LFSTK_getCStr ())}},
114+ {LFSTK_UtilityClass:: LFSTK_hashFromKey (" gridsize" ),{TYPEINT," gridsize" ," " ,false ,atoi (gridSizeEditBox->LFSTK_getCStr ())}},
115+ {LFSTK_UtilityClass:: LFSTK_hashFromKey (" gridborderleft" ),{TYPEINT," gridborderleft" ," " ,false ,atoi (borderLeftEditBox->LFSTK_getCStr ())}},
116+ {LFSTK_UtilityClass:: LFSTK_hashFromKey (" gridborderrite" ),{TYPEINT," gridborderrite" ," " ,false ,atoi (borderRightEditBox->LFSTK_getCStr ())}},
117+ {LFSTK_UtilityClass:: LFSTK_hashFromKey (" refreshrate" ),{TYPEINT," refreshrate" ," " ,false ,atoi (refreshEditBox->LFSTK_getCStr ())}},
118+ {LFSTK_UtilityClass:: LFSTK_hashFromKey (" termcommand" ),{TYPESTRING," termcommand" ,termCommandEditBox->LFSTK_getCStr (),false ,0 }},
119+ {LFSTK_UtilityClass:: LFSTK_hashFromKey (" showextension" ),{TYPEBOOL," showextension" ," " ,showSuffixCheck->LFSTK_getValue (),0 }},
120+ {LFSTK_UtilityClass:: LFSTK_hashFromKey (" fontface" ),{TYPESTRING," fontface" ,fontEditBox->LFSTK_getCStr (),false ,0 }},
121+ {LFSTK_UtilityClass:: LFSTK_hashFromKey (" labelforeground" ),{TYPESTRING," labelforeground" ,labelColurFEditBox->LFSTK_getCStr (),false ,0 }},
122+ {LFSTK_UtilityClass:: LFSTK_hashFromKey (" labelbackground" ),{TYPESTRING," labelbackground" ,labelColurBEditBox->LFSTK_getCStr (),false ,0 }},
123+ {LFSTK_UtilityClass:: LFSTK_hashFromKey (" labelalpha" ),{TYPESTRING," labelalpha" ,labelAlphaColurEditBox->LFSTK_getCStr (),false ,0 }},
124+ {LFSTK_UtilityClass:: LFSTK_hashFromKey (" includelist" ),{TYPESTRING," includelist" ,includeEditBox->LFSTK_getCStr (),false ,0 }},
125+ {LFSTK_UtilityClass:: LFSTK_hashFromKey (" excludelist" ),{TYPESTRING," excludelist" ,excludeEditBox->LFSTK_getCStr (),false ,0 }},
126+ {LFSTK_UtilityClass:: LFSTK_hashFromKey (" doubleclickexe" ),{TYPEBOOL," doubleclickexe" ," " ,clickExeCheck->LFSTK_getValue (),0 }},
127+ {LFSTK_UtilityClass:: LFSTK_hashFromKey (" desknames" ),{TYPESTRING," desknames" ,desktopNamesEdit->LFSTK_getCStr (),false ,0 }},
128128 };
129129
130130 prefs.LFSTK_saveVarsToFile (envFile);
@@ -237,22 +237,22 @@ int main(int argc, char **argv)
237237
238238 prefs.prefsMap =
239239 {
240- {prefs. LFSTK_hashFromKey (" icontheme" ),{TYPESTRING," icontheme" ," gnome" ,false ,0 }},
241- {prefs. LFSTK_hashFromKey (" iconsize" ),{TYPEINT," iconsize" ," " ,false ,32 }},
242- {prefs. LFSTK_hashFromKey (" gridsize" ),{TYPEINT," gridsize" ," " ,false ,64 }},
243- {prefs. LFSTK_hashFromKey (" gridborderleft" ),{TYPEINT," gridborderleft" ," " ,false ,2 }},
244- {prefs. LFSTK_hashFromKey (" gridborderrite" ),{TYPEINT," gridborderrite" ," " ,false ,16 }},
245- {prefs. LFSTK_hashFromKey (" refreshrate" ),{TYPEINT," refreshrate" ," " ,false ,2 }},
246- {prefs. LFSTK_hashFromKey (" termcommand" ),{TYPESTRING," termcommand" ," xterm -e " ,false ,0 }},
247- {prefs. LFSTK_hashFromKey (" showextension" ),{TYPEBOOL," showextension" ," " ,false ,0 }},
248- {prefs. LFSTK_hashFromKey (" fontface" ),{TYPESTRING," fontface" ," " ,false ,0 }},
249- {prefs. LFSTK_hashFromKey (" labelforeground" ),{TYPESTRING," labelforeground" ," " ,false ,0 }},
250- {prefs. LFSTK_hashFromKey (" labelbackground" ),{TYPESTRING," labelbackground" ," " ,false ,0 }},
251- {prefs. LFSTK_hashFromKey (" labelalpha" ),{TYPESTRING," labelalpha" ," 1.0" ,false ,0 }},
252- {prefs. LFSTK_hashFromKey (" includelist" ),{TYPESTRING," includelist" ," " ,false ,0 }},
253- {prefs. LFSTK_hashFromKey (" excludelist" ),{TYPESTRING," excludelist" ," " ,false ,0 }},
254- {prefs. LFSTK_hashFromKey (" doubleclickexe" ),{TYPEBOOL," doubleclickexe" ," " ,false ,0 }},
255- {prefs. LFSTK_hashFromKey (" desknames" ),{TYPESTRING," desknames" ," Desktop 1,Desktop 2,Desktop 3,Desktop 4,Desktop 5,Desktop 6" ,false ,0 }},
240+ {LFSTK_UtilityClass:: LFSTK_hashFromKey (" icontheme" ),{TYPESTRING," icontheme" ," gnome" ,false ,0 }},
241+ {LFSTK_UtilityClass:: LFSTK_hashFromKey (" iconsize" ),{TYPEINT," iconsize" ," " ,false ,32 }},
242+ {LFSTK_UtilityClass:: LFSTK_hashFromKey (" gridsize" ),{TYPEINT," gridsize" ," " ,false ,64 }},
243+ {LFSTK_UtilityClass:: LFSTK_hashFromKey (" gridborderleft" ),{TYPEINT," gridborderleft" ," " ,false ,2 }},
244+ {LFSTK_UtilityClass:: LFSTK_hashFromKey (" gridborderrite" ),{TYPEINT," gridborderrite" ," " ,false ,16 }},
245+ {LFSTK_UtilityClass:: LFSTK_hashFromKey (" refreshrate" ),{TYPEINT," refreshrate" ," " ,false ,2 }},
246+ {LFSTK_UtilityClass:: LFSTK_hashFromKey (" termcommand" ),{TYPESTRING," termcommand" ," xterm -e " ,false ,0 }},
247+ {LFSTK_UtilityClass:: LFSTK_hashFromKey (" showextension" ),{TYPEBOOL," showextension" ," " ,false ,0 }},
248+ {LFSTK_UtilityClass:: LFSTK_hashFromKey (" fontface" ),{TYPESTRING," fontface" ," " ,false ,0 }},
249+ {LFSTK_UtilityClass:: LFSTK_hashFromKey (" labelforeground" ),{TYPESTRING," labelforeground" ," " ,false ,0 }},
250+ {LFSTK_UtilityClass:: LFSTK_hashFromKey (" labelbackground" ),{TYPESTRING," labelbackground" ," " ,false ,0 }},
251+ {LFSTK_UtilityClass:: LFSTK_hashFromKey (" labelalpha" ),{TYPESTRING," labelalpha" ," 1.0" ,false ,0 }},
252+ {LFSTK_UtilityClass:: LFSTK_hashFromKey (" includelist" ),{TYPESTRING," includelist" ," " ,false ,0 }},
253+ {LFSTK_UtilityClass:: LFSTK_hashFromKey (" excludelist" ),{TYPESTRING," excludelist" ," " ,false ,0 }},
254+ {LFSTK_UtilityClass:: LFSTK_hashFromKey (" doubleclickexe" ),{TYPEBOOL," doubleclickexe" ," " ,false ,0 }},
255+ {LFSTK_UtilityClass:: LFSTK_hashFromKey (" desknames" ),{TYPESTRING," desknames" ," Desktop 1,Desktop 2,Desktop 3,Desktop 4,Desktop 5,Desktop 6" ,false ,0 }},
256256 };
257257
258258 asprintf (&envFile," %s/lfsdesktop.rc" ,apc->configDir .c_str ());
0 commit comments