Wireshark-commits: [Wireshark-commits] rev 47139: /trunk/ /trunk/epan/: libwireshark.def prefs-int.

Date: Fri, 18 Jan 2013 00:50:15 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=47139

User: gerald
Date: 2013/01/17 04:50 PM

Log:
 Rename the "saved_val" preference element to "stashed_val" in order to
 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.

Directory: /trunk/epan/
  Changes    Path                Action
  +0 -2      libwireshark.def    Modified
  +2 -2      prefs-int.h         Modified
  +49 -35    prefs.c             Modified
  +7 -16     prefs.h             Modified

Directory: /trunk/ui/gtk/
  Changes    Path                            Action
  +1 -0      airpcap_dlg.c                   Modified
  +2 -1      capture_dlg.c                   Modified
  +3 -2      filter_expression_save_dlg.c    Modified
  +0 -3      gtkglobals.h                    Modified
  +1 -15     main.c                          Modified
  +0 -3      main.h                          Modified
  +1 -0      main_menubar.c                  Modified


(17 files not shown)