summaryrefslogtreecommitdiff
path: root/ui
AgeCommit message (Collapse)AuthorFilesLines
2013-01-24Use ws_gtk_grid...() in place of gtk_table...();Bill Meier1-205/+207
Also: minor cleanup: - use gtk_window_set_default_size() iso gtk_window_resize(); - change grid row numbers to start at 0 (not 1); - fix some formatting/whitespace. svn path=/trunk/; revision=47260
2013-01-24Add font and color preferences. Unfortunately Qt doesn't have a colorGerald Combs20-332/+687
picker widget so we're back to popping up dialogs. Move the contents of monospace_font.{cpp,h} to wireshark_application.{cpp,h}. Pango and Qt use completely different string representations for fonts. Add a separate gui.qt.font_name preference so that they don't clobber each other. svn path=/trunk/; revision=47240
2013-01-23Update our column information even if we don't have a capture file loaded.Gerald Combs1-5/+3
svn path=/trunk/; revision=47232
2013-01-23Add column preferences.Gerald Combs19-81/+747
svn path=/trunk/; revision=47231
2013-01-22GTK+:Gerald Combs16-2973/+2960
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-22Fix VS Studio Analysis warning C6244: Local declaration of 'iftype' hides ↵Chris Maynard1-5/+5
previous declaration at line '1046' svn path=/trunk/; revision=47213
2013-01-22For menu consistency and shortcut simplification, change some "Ignore" ↵Chris Maynard2-4/+4
related shortcuts to match "Mark" and "Time Reference" shortcuts. Specifically: Ignore All Displayed Packets <alt><shift><control>D ==> <shift><control>D Unignore All Packets <shift><control>D ==> <alt><control>D svn path=/trunk/; revision=47203
2013-01-21Update the ignore shortcuts to match r47194.Gerald Combs1-3/+3
svn path=/trunk/; revision=47200
2013-01-21And (Q_)init resources (otherwise the images don't display when build with ↵Alexis La Goutte1-0/+1
CMake) svn path=/trunk/; revision=47199
2013-01-21Add UI_FILES list (more easy to use when add a new ui files...)Alexis La Goutte2-16/+23
svn path=/trunk/; revision=47198
2013-01-21Add layout.qrc to QRC_FILES (otherwise it is not include to compressed ↵Alexis La Goutte1-0/+1
source files) svn path=/trunk/; revision=47197
2013-01-21Add layout.qrc to CMake BuildAlexis La Goutte1-0/+1
svn path=/trunk/; revision=47196
2013-01-21Modify name of Preferences windowAlexis La Goutte1-1/+1
svn path=/trunk/; revision=47195
2013-01-21Avoid using *<control>X shortcuts. In this case, using *<control>D instead.Chris Maynard1-3/+3
From Cal Turney via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8176 svn path=/trunk/; revision=47194
2013-01-21Add layout_preferences_frame.ui.Gerald Combs1-0/+1
svn path=/trunk/; revision=47191
2013-01-21Add an initial layout preference pane. Set SVN properties.Gerald Combs11-10/+728
svn path=/trunk/; revision=47190
2013-01-21Increase the background opacity.Gerald Combs1-2270/+2753
svn path=/trunk/; revision=47189
2013-01-20Fix for CID 715142.Jaap Keuter1-1/+1
Be aware that the short-circuit evaluation only applies to the first operand of a logical AND expression. svn path=/trunk/; revision=47188
2013-01-20Use the correct image sequence.Gerald Combs1-3/+3
svn path=/trunk/; revision=47185
2013-01-20Update French translations with last change and update of QtsharkAlexis La Goutte3-193/+2108
svn path=/trunk/; revision=47184
2013-01-20tr() not work with #defineAlexis La Goutte1-6/+5
svn path=/trunk/; revision=47183
2013-01-20Add Some missing text to translateAlexis La Goutte4-21/+21
svn path=/trunk/; revision=47182
2013-01-19Add layouts.hGerald Combs1-0/+2472
svn path=/trunk/; revision=47166
2013-01-19Add a rule to create layouts.h (using gdk-pixbuf-csourceBill Meier1-0/+8
in a similar manner as done in Makefile.am) (On my Windows 7 system gdk-pixbuf-csource gives an error message about "...Couldn't recognize the image file format...". Let's see what happens in the Windows buildbots). svn path=/trunk/; revision=47165
2013-01-19There is no wireless layout.Jaap Keuter1-1/+1
svn path=/trunk/; revision=47161
2013-01-19Replace more XPMs with PNGs.Gerald Combs3-11/+18
svn path=/trunk/; revision=47159
2013-01-19Add an "Appearance" (aka "User Interface") preference pane. Having anGerald Combs11-15/+530
"Advanced" pane gives us the luxury of omitting some items in favor of simplicity so do that. svn path=/trunk/; revision=47158
2013-01-18Fix two issues related to conversion to use ws_gtk_grid...() [svn #47002].Bill Meier1-2/+2
svn path=/trunk/; revision=47154
2013-01-18Generate Info.plist using CMake and enable it in QtShark.pro. Update the dates.Gerald Combs1-2/+1
svn path=/trunk/; revision=47143
2013-01-18Add more AirPcap code, disabled for now.Gerald Combs1-0/+8
svn path=/trunk/; revision=47142
2013-01-18Don't call prefs_airpcap_update() for now. Remove some debugging code.Gerald Combs2-4/+2
svn path=/trunk/; revision=47141
2013-01-18Fix compilation on Windows.Gerald Combs2-8/+8
svn path=/trunk/; revision=47140
2013-01-18Rename the "saved_val" preference element to "stashed_val" in order toGerald Combs24-312/+635
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
2013-01-17Minor cleanup:Bill Meier1-97/+98
- Whitespace; - Long lines. svn path=/trunk/; revision=47138
2013-01-17General cleanup:Bill Meier1-1129/+1130
Indentation: Use 4 spaces; parens; unneeded initializers; whitespace. svn path=/trunk/; revision=47137
2013-01-17Use gtk_box_pack_start() instead of gtk_container_add()Bill Meier1-3/+5
when packing into a [v|h]box so that Gtk2 & Gtk3 behavior is the same. Also: Add an XXX comment: "progess" rendering doesn't seem to work for Gtk3 ?? svn path=/trunk/; revision=47135
2013-01-17Use gtk_box_pack_start() instead of gtk_container_add()Bill Meier1-17/+18
when packing into a [v|h]box so that Gtk2 & Gtk3 behavior is the same. Also: Add an XXX comment: "progess" rendering doesn't seem to work for Gtk3 ?? svn path=/trunk/; revision=47134
2013-01-17Opening the capture options triggers a rescan of all the packets caused by ↵Anders Broman1-9/+15
the call to update_decryption_mode_list() for airpcap. If we don't get the airpcap_if_list, don't do anything regarding air_pcap. update_decryption_mode_list() should probably check if a change is taking place before rescaning all packets. svn path=/trunk/; revision=47131
2013-01-16Fix Gtk3 window resize behavior to match Gtk2.Bill Meier1-67/+67
Specifically: use gtk_box_pack_start() instead of gtk_container_add() in a number of places. Also: do some whitespace cleanup. svn path=/trunk/; revision=47129
2013-01-16Remove redundant call to gtk_box_set_child_packing().Bill Meier3-3/+0
svn path=/trunk/; revision=47128
2013-01-16General cleanup: whitespace, parens & etc.Bill Meier1-150/+149
svn path=/trunk/; revision=47126
2013-01-16Use gdk_cairo_set_source_rgba() and GdkRGBA.Bill Meier1-27/+27
svn path=/trunk/; revision=47124
2013-01-16Use gdk_cairo_set_source_rgba() and GdkRGBA.Bill Meier1-31/+31
svn path=/trunk/; revision=47121
2013-01-16Replace gtk_table...() with ws_gtk_grid...();Bill Meier1-63/+75
Also; do some whitespace cleanuyp. svn path=/trunk/; revision=47118
2013-01-16Replace gtk_table...() with ws_gtk_grid...();Bill Meier1-65/+67
Use gtk_box_pack_start() instead of gtk_container_add() in a few places so that window resize behavior is the same for Gtk2 and Gtk3. Also: do some whitespace cleanup. svn path=/trunk/; revision=47117
2013-01-16(Trivial) whitespace cleanup;Bill Meier1-6/+6
svn path=/trunk/; revision=47116
2013-01-16Fix a Gtk2 vs Gtk3 issue;Bill Meier1-1/+1
Specifically: use gtk_box_pack_start() instead of gtk_container_add() in one case so that (for Gtk3) a window component properly expands when the window is resized vertically. svn path=/trunk/; revision=47115
2013-01-16Add some routines to wsutil to, at least on some platforms, addGuy Harris1-11/+20
information to crash dumps and the like. (Currently, we only handle OS X's CrashReporter, but we should do this on other platforms where this information can be added and would be helpful.) svn path=/trunk/; revision=47109
2013-01-16Set the crash info as early as possible in main(), so that it shows upGuy Harris1-10/+19
in crashes that happen early in the process. Clean up white space. svn path=/trunk/; revision=47108
2013-01-15Cleanup:Bill Meier1-194/+291
- "localize" some variables; remove some unneeded initializers; - indentation, whitespace, long lines & etc. svn path=/trunk/; revision=47103