aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/prefs_dlg.c
AgeCommit message (Collapse)AuthorFilesLines
2012-01-15Move gtk to ui/gtk.Jörg Mayer1-1834/+0
This looses the last checkin to gtk, will add this manually back. svn path=/trunk/; revision=40518
2011-09-21Whitespace cleanup:Bill Meier1-19/+19
Use consistent indentation; Convert "4 space tabs" to spaces; Remove trailing whitespace. svn path=/trunk/; revision=39082
2011-09-21Fix ex "modeline" so it works;Bill Meier1-1/+1
See https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5748 svn path=/trunk/; revision=39081
2011-09-08From Edwin Groothuis via bug 6207:Stig Bjørlykke1-0/+11
Added Filter Toolbar Save functionality. From me: Removed unused code. svn path=/trunk/; revision=38937
2011-08-18Update the AirPcap code in prefs_dlg.c to match the changes made toGerald Combs1-23/+27
airpcap_dlg.c long ago in r28350. Re-enable GTK_DISABLE_DEPRECATED. Add a comment to airpcap_loader.c about moving functionality to packet-ieee80211.c. svn path=/trunk/; revision=38610
2011-08-18Temporary fix to get Windows build going again: undefine ↵Stephen Fisher1-1/+5
GTK_DISABLE_DEPRECATED if building on Windows. See: http://www.wireshark.org/lists/wireshark-dev/201108/msg00373.html svn path=/trunk/; revision=38606
2011-08-10Update a comment about hack used to prevent gcc "unused_result" warning for ↵Bill Meier1-2/+2
strtoul() call. Specifically: The following hack prevents a gcc "unused_result" warning and is not flagged (currently) by either Coverity or CLang. if (strtoul(...){} svn path=/trunk/; revision=38441
2011-07-24Replace deprecated functions.Anders Broman1-3/+3
svn path=/trunk/; revision=38186
2011-07-13Fix more tooltips fixes.Anders Broman1-48/+22
svn path=/trunk/; revision=37996
2011-06-28Replace all strerror() with g_strerror().Stig Bjørlykke1-2/+2
Remove our local strerror implementation. Mark strerror as locale unsafe API. This fixes bug 5715. svn path=/trunk/; revision=37812
2011-06-10Add a hack to prevent a gcc warning "ignoring return value of 'strtoul'..."Bill Meier1-2/+15
for some gcc configurations (see _FORTIFY_SOURCE). This hack is used instead of storing the result returned by strtoul() in a dummy variable so as to prevent a gcc 4.6 with -Wextra warning: "set but not used ...". TBD: will this hack pass muster with other validators such as Coverity, CLang, & etc ? For much gory detail: see the message thread starting at: http://www.wireshark.org/lists/wireshark-dev/201106/msg00088.html svn path=/trunk/; revision=37642
2011-06-08Assign to a dummy variable to squelch the warning.Anders Broman1-1/+2
svn path=/trunk/; revision=37616
2011-06-08Didn't need to introduce that variable.Guy Harris1-1/+0
svn path=/trunk/; revision=37607
2011-06-08Try to squelch the warning about not using the return value of strtoul()Guy Harris1-2/+4
- we really *are* using it just for its side-effects if it fails; its return value is not the best way to check for failure, as the failure return values are also valid return values on success. While we're at it, check for it setting errno, which is one of the better ways to check for failure. svn path=/trunk/; revision=37606
2011-06-07Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings;Bill Meier1-8/+7
Also: whitespace cleanup in some cases. svn path=/trunk/; revision=37601
2011-03-08Removal of the old packet-list in favor of the new packet list.Sake Blok1-12/+0
It compiles with "./configure without options" on my Mac. Let's see what the buildbots have to say about it :-) svn path=/trunk/; revision=36161
2011-02-08More -DGSEAL_ENABLE cleanup in preparation for GTK+ 3.0...Stephen Fisher1-3/+3
svn path=/trunk/; revision=35872
2010-10-12Define some vars & fcns as static;Bill Meier1-4/+4
Also: do some minor reformmating and cleanup of whitespace. svn path=/trunk/; revision=34492
2010-08-23(Minor) Cleanup signal callbak signatures and related:Bill Meier1-3/+3
- Don't mark callback arg as _U_ if actually used (and vice-versa); - Use Null as user_data in g_signal_callback if unused in callback; - Use correct signature for certain event callbacks. svn path=/trunk/; revision=33895
2010-04-16Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3387 (crashJeff Morriss1-0/+12
when changing the font and deleting a column at the same time while using the old packet list): Don't calculate the default column widths until after both the font and column preferences have been applied. This isn't a problem in the new packet list. svn path=/trunk/; revision=32500
2010-01-29Fix various gcc -Wshadow warnings.Bill Meier1-14/+14
svn path=/trunk/; revision=31731
2009-12-02Fixed opening correct preferences page.Stig Bjørlykke1-2/+8
svn path=/trunk/; revision=31149
2009-11-26Added an option to open the Preferences directly in the Layout or Columns page.Stig Bjørlykke1-7/+22
svn path=/trunk/; revision=31084
2009-09-23Change option menu to combo box.Anders Broman1-25/+17
svn path=/trunk/; revision=30087
2009-05-13() -> (void)Jörg Mayer1-2/+2
svn path=/trunk/; revision=28352
2009-05-13Initialize some uninitialized variables.Stig Bjørlykke1-3/+3
svn path=/trunk/; revision=28345
2009-05-05prefs_dlg: Cancel always reverts to "Last Saved" [Part 1]Bill Meier1-0/+57
svn path=/trunk/; revision=28276
2009-05-04From Didier Gautheron (bug 3126):Stig Bjørlykke1-4/+4
Update expert info icon on redissect. svn path=/trunk/; revision=28269
2009-05-04prefs_column: Rework & cleanup Column Preferences dialog codeBill Meier1-0/+1
- Re-create packet-list only when Columns change vs every time Edit!Preferences invoked; - Select next row in Column List after delete of a row; - Remove no-longer needed code; - ... svn path=/trunk/; revision=28268
2009-05-03prefs_dlg: Fix an inadvertant character deletion in last commit;Bill Meier1-1/+1
svn path=/trunk/; revision=28266
2009-05-03prefs_dlg: use consistent indentationBill Meier1-299/+312
svn path=/trunk/; revision=28265
2009-04-21Turn on -Wshorten-64-to-32 by default, and fix some issues that turnedGuy Harris1-2/+2
up (99 44/100% of which were assignments of double-precision floating-point constants to floats). Hopefully this will catch at least some P64 issues on UN*X. svn path=/trunk/; revision=28108
2009-04-11prefs_dlg: gtk_label_get() --> gtk_label_get_text()Bill Meier1-2/+2
svn path=/trunk/; revision=28033
2009-03-19As suggested by Jakub Zawadzki: actually use sizeof(...) rather than a ↵Bill Meier1-3/+3
numeric constant in various places; svn path=/trunk/; revision=27800
2009-03-13From Jakub Zawadzki (bug 3331):Stig Bjørlykke1-4/+2
g_free() is NULL safe, so we don't need check against it. svn path=/trunk/; revision=27718
2008-11-29Removed an unused argument to prefs_tree_page_add().Stig Bjørlykke1-12/+10
svn path=/trunk/; revision=26875
2008-11-28Save preferences when selected from menu, unless having enabled the save button.Stig Bjørlykke1-1/+1
Added a preferences icon to the menu. svn path=/trunk/; revision=26872
2008-10-20Use invisible event boxes so the preferences looks good when using themes.Stig Bjørlykke1-0/+3
svn path=/trunk/; revision=26502
2008-10-19Add filter autocomplete for more places we use filter entries.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=26491
2008-08-07Remove some obsolete comments related to GTK 1.Bill Meier1-11/+4
svn path=/trunk/; revision=25949
2008-06-29Fix some simple cases of GTK2 deprecated API usage by using a renamed or ↵Bill Meier1-8/+8
equivalent API gtk_container_border_width() ==> gtk_container_set_border_width() gtk_container_children() ==> gtk_container_get_children() gtk_entry_new_with_max_length() ==> gtk_entry_new(); gtk_entry_set_max_length() gtk_menu_append() ==> gtk_menu_shell_append() gtk_menu_prepend() ==> gtk_menu_shell_prepend() gtk_notebook_set_page() ==> gtk_notebook_set_current_page() gtk_paned_gutter_size() ==> gtk_paned_set_gutter_size() gtk_radio_button_group() ==> gtk_radio_button_get_group() gtk_signal_connect() ==> g_signal_connect() gtk_signal_disconnect() ==> g_signal_handler_disconnect() gtk_signal_emit_by_name() ==> g_signal_emit_by_name() gtk_signal_handler_block_by_data() ==> g_signal_handlers_block_matched() gtk_signal_handler_block_by_func() ==> g_signal_handlers_block_by_func() gtk_signal_handler_unblock_by_data() ==> g_signal-handlers_unblock_matched() gtk_signal_handler_unblock_by_func() ==> g_signal-handlers_unblock_by_func() gtk_spin_button_get_value_as_float() ==> gtk_spin_button_get_value() gtk_toggle_button_set_state() ==> gtk_toggle_button_set_active() svn path=/trunk/; revision=25634
2008-06-21Removed the usage of topic_available() as we now have all topics.Stig Bjørlykke1-10/+3
svn path=/trunk/; revision=25505
2008-04-23Rename "Taps/Statistics" preference group to be simply "Statistics".Martin Mathieson1-1/+1
"Tap" is a term likely only to be known to developers, and "Statistics" matches the Menu item under which all of the affected windows are launched. svn path=/trunk/; revision=25151
2008-04-21Rename prefs_rtp_player files to prefs_taps.Martin Mathieson1-1/+1
(see rev 25133) svn path=/trunk/; revision=25143
2008-04-21Allow configuration of tap update interval.Martin Mathieson1-15/+7
- rename rtp_player config group to taps/statistics - will rename prefs_rtp_player files later (svn didn't seem keen to rename with changes present, and output says its just a copy/delete anyway...) svn path=/trunk/; revision=25133
2008-04-17Added an option to display hidden protocol items.Stig Bjørlykke1-7/+12
svn path=/trunk/; revision=25108
2008-04-14From Jim Young (bug 2212):Sake Blok1-1/+1
Add the profile name to the title of all the configuration windows. (this is a rewrite of Jim's patch) svn path=/trunk/; revision=25016
2008-04-13change all preferences related filenames from xy_prefs to prefs_xyUlf Lamping1-8/+8
svn path=/trunk/; revision=24975
2008-04-13sort #includes by directoriesUlf Lamping1-21/+22
svn path=/trunk/; revision=24969
2008-04-12move stock icon code from toolbar.c into specific stock_icons file(s)Ulf Lamping1-1/+1
svn path=/trunk/; revision=24921