Commit Graph

7 Commits

Author SHA1 Message Date
Jaap Keuter 42c71a3261 Follow up on bug 8416.
Remove C++ incompatibilities in GTK+ 3 code.

svn path=/trunk/; revision=48606
2013-03-28 06:36:44 +00:00
Bill Meier 8112ecc321 From beroset:
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-21 02:29:09 +00:00
Bill Meier c9dee3bdda For GTK 3.4 and newer: use GtkColorChooserWidget;
(Implemented using a bit of a hack).

svn path=/trunk/; revision=48044
2013-03-04 04:53:44 +00:00
Bill Meier 48527645c9 Minor tweaks to "ColorSelection" UI:
- For each choice (marked/ignored fg/bg) always show orig color as "prev color";
 - Improve spacing between widgets.

Also;
 - Add a few explanatory comments;
 - Add editor modelines;
 - Cleanup whitespace/long-lines/formatting.

svn path=/trunk/; revision=48012
2013-03-02 17:47:56 +00:00
Gerald Combs 2dff8d7605 Add font and color preferences. Unfortunately Qt doesn't have a color
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-24 01:10:12 +00:00
Bill Meier 8c2127b946 Replace gtk_table...() with ws_gtk_grid...()
(with some finagling so that the layout is about the same
for both Gtk2 & Gtk3).

svn path=/trunk/; revision=47086
2013-01-14 23:54:08 +00:00
Gerald Combs 430e97c866 Move the font preferences to the colors pane and change its name to
"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
2013-01-03 01:02:30 +00:00