aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/prefs_dlg.c
AgeCommit message (Collapse)AuthorFilesLines
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
2008-04-11last round to replace SIGNAL_CONNECT with g_signal_connectUlf Lamping1-9/+9
svn path=/trunk/; revision=24918
2008-04-11replace all appearances of BUTTON_NEW_FROM_STOCK with GTK2's ↵Ulf Lamping1-1/+1
gtk_button_new_from_stock svn path=/trunk/; revision=24904
2008-04-11OBECT_..._DATA --> g_object_..._dataBill Meier1-56/+56
svn path=/trunk/; revision=24894
2008-04-09Remove:Anders Broman1-3/+0
#ifdef NEED_G_ASCII_STRCASECMP_H #include "g_ascii_strcasecmp.h" #endif svn path=/trunk/; revision=24868
2008-04-08remove GTK1 specific font handlingUlf Lamping1-1/+1
svn path=/trunk/; revision=24842
2008-04-07remove GTK1 codeUlf Lamping1-149/+2
svn path=/trunk/; revision=24823
2008-03-01Include epan/strutil.h for gtk-1.2 builds.Michael Tüxen1-0/+1
svn path=/trunk/; revision=24513
2008-02-29Next attempt to cleanup some string functions, including:Stig Bjørlykke1-14/+16
strncpy -> g_strlcpy, strncat -> g_strlcat svn path=/trunk/; revision=24504
2008-02-01Rewrote some prohibited APIs in gtk/ (sprintf, strcpy, strcat).Stig Bjørlykke1-13/+13
If we get some truncated strings we probably overwrote some buffers... svn path=/trunk/; revision=24239
2008-01-18Move libsmi settings from virtual mibs protocol page to name resolution page.Jaap Keuter1-7/+3
svn path=/trunk/; revision=24131
2008-01-17Whitespace cleanup of AIRPCAP code.Jaap Keuter1-59/+59
svn path=/trunk/; revision=24127
2008-01-16From Jim Young:Jaap Keuter1-1/+27
This patch provides a new RTP Player preferences dialog. It allows one to select the maximum number of visable channels in the RTP Player window. The default is four (4) channels which is the maximum number of usable channels that the RTP Player can display and still have access to the bottom row buttons on a 1024*768 resolution display. Specifying a value less than 1 or greater than 10 will be result in the RTP Player displaying the default 4 channels. svn path=/trunk/; revision=24112
2007-11-29hide implementation of module listTomas Kukosa1-9/+9
(it makes easier change from GList to GTree as we have many modules now and GList implementation is slow for searching) svn path=/trunk/; revision=23669
2007-11-28fix the path to include g_ascii_strcasecmp.hRonnie Sahlberg1-1/+1
svn path=/trunk/; revision=23636
2007-11-27strcasecmp(), strncasecmp(), g_strcasecmp(), and g_strncasecmp() delendaGuy Harris1-4/+8
est. Use g_ascii_strcasecmp() and g_ascii_strncasecmp(), and supply our own versions if they're missing from GLib (as is the case with GLib 1.x). In the code to build the list of named fields for Diameter, don't use g_strdown(); do our own g_ascii_-style upper-case to lower-case mapping in the hash function and use g_ascii_strcasecmp() in the compare function. We do this because there is no guarantee that toupper(), tolower(), and functions that use them will, for example, map between "I" and "i" in all locales; in Turkish locales, for example, there are, in both upper case and lower case, versions of "i" with and without a dot, and the upper-case version of "i" is "I"-with-a-dot and the lower-case version of "I" is "i"-without-a-dot. This causes strings that should match not to match. This finishes fixing bug 2010 - an earlier checkin prevented the crash (as there are other ways to produce the same crash, e.g. a bogus dictionary.xml file), but didn't fix the case-insensitive string matching. svn path=/trunk/; revision=23623
2007-11-21Avoid redraw hex dump windows if redissecting.Stig Bjørlykke1-6/+6
svn path=/trunk/; revision=23532
2007-05-16Fix bug #1548: call of "Protocol Preferences" results in GTK error msgStephen Fisher1-5/+7
at the command line svn path=/trunk/; revision=21808
2007-03-19This change allows a structure to be created under the "Protocols" section ↵Graeme Lunt1-27/+65
of the preferences. A new function is introduced, prefs_register_protocol_subtree(), that allows the subtree the protocol should appear under to be specified. The subtree is specified as a string, with a '/' delimiting each subtree element. For example, prefs_register_protocol(proto_dap, prefs_register_dap); becomes prefs_register_protocol_subtree("OSI/X.500", proto_dap, prefs_register_dap); The function will create all the intermediate subtree nodes that are required, if they don't already exist. This allows the grouping of procotols which should make the list of protocols more manageable as even more are added. The current aim is to group by protocol family e.g. + OSI + X.400 X.411 X.420 + X.500 DISP DAP DOP DSP + X.509 X509AF X509CE ... but others grouping could be envisioned (e.g. by first letter). As the intermediate nodes may already have preferences (e.g. OSI), then modules are now allowed to have submodules. Previously each node was either a subtree or held preferences. This is consistent with the "User Interface" node. The subtree structure has no effect on how the preferences are saved to file, and the "Protocol Preferences..." menu option will bring up the preferences expanded to the correct node. In addition, a new "blank page" has been introduced for intermediate nodes that have no preferences (and is also used when the "Protocols" node itself is chosen). This prevents confusion when the user moves from a node with preferences to a node without preferences, but the page old page is still shown. There is also a change to prevent '#' characters in a value being treated as a comment when parsing the preferences file. (There is nothing that adds comments when writing the preferences file.) svn path=/trunk/; revision=21066
2007-02-03second iteration:Luis Ontanon1-1/+45
* fields of an uat table now are passed using an array of uat_filed_t * field callbacks take two more userdata arguments * add some macros to define uat field callbacks. * uats can be registered as preferences for a specific protocol - the preference widget is a button that opens the uat's window * dfilter-macro => reflect changes to API svn path=/trunk/; revision=20695
2006-12-05From Giorgio Tino: Add a "static text" protocol preference type. ThisGerald Combs1-5/+53
can be used to add descriptive text inline with other preference items. The "preference" contents are not written to disk. Fixup whitespace. svn path=/trunk/; revision=20037