summaryrefslogtreecommitdiff
path: root/ui/preference_utils.h
AgeCommit message (Collapse)AuthorFilesLines
2013-01-23Add column preferences.Gerald Combs1-0/+22
svn path=/trunk/; revision=47231
2013-01-18Rename the "saved_val" preference element to "stashed_val" in order toGerald Combs1-0/+88
more clearly indicate that it's a copy of a preference value rather than something we've saved in the preferences file. Update prefs_pref_to_str() to handle default, stashed, and current prefs. Create ui/preference_utils.[ch] and move some common routines there. Use prefs_pref_type_name() in the GTK+ preferences dialog. Make the "OK" button in the Qt preferences dialog work. We simply write the prefs and redissect on "OK" and do nothing on "Cancel". This is intentionally different from the Apply/OK/Cancel behavior in the GTK+ version. Add a general "emitAppSignal" method to wsApp and use it for packet dissection and preference changes. Suggest that we might want to create a WsString class to make conversion between QStrings, gchar *s, and GStrings easier. svn path=/trunk/; revision=47139