aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/prefs_gui.c
AgeCommit message (Collapse)AuthorFilesLines
2015-11-10Apple calls it just "OS X" these days.Guy Harris1-2/+2
Change-Id: I98905988ceb394d27307d1cbe883d8fe95ac23e4 Reviewed-on: https://code.wireshark.org/review/11703 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2015-01-01Remove unneeded includes from ui folderMartin Mathieson1-6/+0
Change-Id: Ifd1eebff9080cd3867e44e4dcb2d2681370ed60a Reviewed-on: https://code.wireshark.org/review/6128 Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2013-12-03When including <epan/prefs.h> don't force inclusion of <epan/uat.h>Jakub Zawadzki1-0/+2
svn path=/trunk/; revision=53769
2013-11-07Add Packet Editor PreferenceAlexis La Goutte1-0/+11
svn path=/trunk/; revision=53134
2013-05-13Eliminate some includes of ui/simple_dialog.h by files that don't useGuy Harris1-1/+0
anything from it. svn path=/trunk/; revision=49277
2013-04-07Adjust the automatic update label.Gerald Combs1-1/+1
svn path=/trunk/; revision=48780
2013-04-07Expose the automatic update preference on Windows.Gerald Combs1-5/+24
svn path=/trunk/; revision=48778
2013-04-01Move the knowledge about what the window title should be toGuy Harris1-0/+2
ui/gtk/main_titlebar.c, with set_titlebar_for_capture_file() for either no capture file or an opened capture file and set_titlebar_for_capture_in_progress() for an in-progress capture. svn path=/trunk/; revision=48683
2013-03-21From beroset:Bill Meier1-1/+1
remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 attachment #10404 Note: The following parts of the patch had been previously done: asn1/snmp/packet-snmp-template.c epan/dissectors/packet-snmp.c epan/dissectors/packet-x11.c Also; hostlist_table.c: code under '#ifdef HAVE_GEOIP' didn't compile and needed a few additional patches. svn path=/trunk/; revision=48447
2013-03-13gtk_widget_set_vexpand() is only for GTK3.Bill Meier1-0/+2
svn path=/trunk/; revision=48281
2013-03-13Certain prefs window contents should not be centered vertically in GTK3.Bill Meier1-0/+14
(Fix: prevent vertical expand/fill of grid widget in certain cases). (This stuff in GTK3 about "parents inheriting expand/fill properties from children" is driving me crazy). svn path=/trunk/; revision=48280
2013-03-07Use explicit casts.Anders Broman1-10/+10
svn path=/trunk/; revision=48162
2013-01-24Use ws_gtk_grid...() in place of gtk_table...().Bill Meier1-39/+41
This completes the process of replacing Wireshark gtk_table...() usage !! (However: the prefs dialogs still have a few Gtk3 related Expand/Fill issues which need to be fixed). svn path=/trunk/; revision=47262
2013-01-22GTK+:Gerald Combs1-43/+0
Get rid of user-hostile behavior. In the layout preferences pane 2 & 3 radio buttons overrode the user's selection if a duplicate item was selected. Now we assume that the user knows what he or she is doing and steal duplicate selections from the other panes. Qt: Match the new GTK+ behavior in the layout preferences. Add padding around the layout images. Add toolbar style preferences to the Appearance pane (instead of the layout pane). All: Remove the selection mode and scrollbar placement prefs and mark them obsolete as recently discussed on -dev. Adjust the layout images yet again after more Awful Monitor Testing. svn path=/trunk/; revision=47214
2013-01-19Add an "Appearance" (aka "User Interface") preference pane. Having anGerald Combs1-3/+3
"Advanced" pane gives us the luxury of omitting some items in favor of simplicity so do that. svn path=/trunk/; revision=47158
2013-01-03Move the font preferences to the colors pane and change its name toGerald Combs1-118/+6
"Font and Colors". Use a GtkFontButton to select the font and update the sample text accordingly. Instead of attempting to resize the sample color text (which didn't appear to work) scroll to the text that matches the current combo box selection. svn path=/trunk/; revision=46909
2012-12-26Fix a bunch of warnings.Guy Harris1-4/+4
Cast away some implicit 64-bit-to-32-bit conversion errors due to use of sizeof. Cast away some implicit 64-bit-to-32-bit conversion errors due to use of strtol() and strtoul(). Change some data types to avoid those implicit conversion warnings. When assigning a constant to a float, make sure the constant isn't a double, by appending "f" to the constant. Constify a bunch of variables, parameters, and return values to eliminate warnings due to strings being given const qualifiers. Cast away those warnings in some cases where an API we don't control forces us to do so. Enable a bunch of additional warnings by default. Note why at least some of the other warnings aren't enabled. randpkt.c and text2pcap.c are used to build programs, so they don't need to be in EXTRA_DIST. If the user specifies --enable-warnings-as-errors, add -Werror *even if the user specified --enable-extra-gcc-flags; assume they know what they're doing and are willing to have the compile fail due to the extra GCC warnings being treated as errors. svn path=/trunk/; revision=46748
2012-09-22Change "LED" to "icon" and add a packet comment icon to the corresponding ↵Chris Maynard1-2/+2
expert info tab if the preference for displaying them is enabled. Basically, extend the fix for bug 3196 to include the packet comments tab. Also, fix some typos. svn path=/trunk/; revision=45053
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-2/+0
svn path=/trunk/; revision=45016
2012-09-04- Replace packet_list_recreate_visible_rows -> ↵Jörg Mayer1-1/+1
packet_list_recreate_visible_rows_list - Replace new_packet_list_ -> packet_list_ svn path=/trunk/; revision=44765
2012-09-04Rename new_packet_list.[ch] to packet_list.[ch]Jörg Mayer1-1/+1
svn path=/trunk/; revision=44764
2012-09-03cinfo.columns_changed is only used by ui/gtk, move it to cfile structure.Jakub Zawadzki1-1/+1
svn path=/trunk/; revision=44750
2012-07-31From Michael Mann:Anders Broman1-9/+17
Expand show version preference. implementation of Steven's suggestion of a radio button (actually dropdown) of the 4 possibilities. I changed the default to have the version on both in the welcome screen and on the window as that's how it was and people tend not to change the preferences I think. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6437 svn path=/trunk/; revision=44153
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-06-16ui/gtk/main_proto_draw.c isn't just used for the main window, it's alsoGuy Harris1-1/+1
used for popped-up packet windows, and it includes more than just code to draw the protocol tree - it includes the hex dump pane code as well. Rename it packet_panes.c; the stuff specific to the main window should be moved into a different file. svn path=/trunk/; revision=43290
2012-06-03Move routines that handle the main window title bar out ofGuy Harris1-1/+2
ui/gtk/gui_utils.c into ui/gtk/main_titlebar.c, and the declaration of one of them out of ui/ui_util.h into ui/gtk/main_titlebar.h, and rename them to clarify that they work on the window name and titlebar. svn path=/trunk/; revision=43041
2012-04-23Use GtkFontChooser if GTK >= 3.2Anders Broman1-0/+10
svn path=/trunk/; revision=42205
2012-04-21Replace gtk_vbox_new() and gtk_hbox_new() with ws_gtk_box_new().Anders Broman1-1/+1
svn path=/trunk/; revision=42176
2012-01-18Restructure the recent file code so that recent.c is GUI-independent;Guy Harris1-1/+1
move it to the top-level source directory for now, and move ui/gtk/recent.h to the ui directory. svn path=/trunk/; revision=40561
2012-01-16Move some headers for UI stuff, and the alert_box.c UI-specific file, toGuy Harris1-1/+1
the ui directory. (Perhaps some other files that would be used by all flavors of Wireshark, for any GUI toolkit or for someting such as ncurses, and not for any command-line tool such as TShark, should be moved there as well.) Shuffle some #includes to put the "ui/XXX.h" includes together. svn path=/trunk/; revision=40529
2012-01-15Move gtk to ui/gtk.Jörg Mayer1-0/+699
This looses the last checkin to gtk, will add this manually back. svn path=/trunk/; revision=40518