summaryrefslogtreecommitdiff
path: root/gtk/gui_utils.c
AgeCommit message (Collapse)AuthorFilesLines
2011-08-15gdk_pixbuf_render_pixmap_and_mask_for_colormap() used in ↵Anders Broman1-2/+3
xpm_to_widget_from_parent is gone in GTK 3.0. Rather tan trying to replace it go for the simpler xpm_to_widget() The result looks the same to me. svn path=/trunk/; revision=38549
2011-08-15Fix trivial compilation error:Stephen Fisher1-1/+1
gui_utils.c:1880:39: error: no newline at end of file svn path=/trunk/; revision=38547
2011-08-14Make save IO graph work, I had to make a local copy ofAnders Broman1-0/+181
GTK 3.0 function gdk_pixbuf_get_from_surface() put in gui_util.c svn path=/trunk/; revision=38541
2011-07-25Use gtk_widget_get_has_window() as a wrapper aroundGuy Harris1-4/+0
GTK_WIDGET_NO_WINDOW() in pre-2.18 versions of GTK+. Treat calls to GTK_WIDGET_NO_WINDOW() as an error in checkAPIs.pl. svn path=/trunk/; revision=38197
2011-07-25Fix a couple of typos and 'E'' mark functions mapped in old-gtk-compat.hAnders Broman1-2/+2
svn path=/trunk/; revision=38196
2011-07-24Use gtk_window_set_icon_list isof gdk_pixmap_create_from_xpm_d.Anders Broman1-10/+14
svn path=/trunk/; revision=38193
2011-07-24Remove unused variables.Anders Broman1-1/+0
svn path=/trunk/; revision=38189
2011-07-24Replace deprecated functions.Anders Broman1-10/+7
svn path=/trunk/; revision=38188
2011-07-21Create a file containing macros to provide the access-functionsJörg Mayer1-27/+2
when the gtk version is too old (for the 2,14,0 case). Remove all old access methods that were guarded by 2,14,0 tests. Feel free to do the same for newer guards :-) svn path=/trunk/; revision=38147
2011-07-18Fix some trivial cases of gdk-deprecated warnings. The remainingJörg Mayer1-1/+1
ones have to be fixed by someone who understands the code. svn path=/trunk/; revision=38092
2011-07-13make compiling with -DGTK_DISABLE_DEPRECATED workJörg Mayer1-1/+1
svn path=/trunk/; revision=38004
2011-07-11More GLIB_CHECK_VERSION and GTK_CHECK_VERSION cleanup.Gerald Combs1-5/+3
svn path=/trunk/; revision=37971
2011-07-08Use a pixbuf for widgets used for icons.Michael Tüxen1-3/+5
svn path=/trunk/; revision=37942
2011-06-20GTK3 fixes:Jörg Mayer1-0/+3
- Replace 2 cases where GtkObject was used (no longer exists in GTK3) - Whenever gdkkeysyms.h is included also include gdkkeysyms-compat.h iff we are building against gtk3 svn path=/trunk/; revision=37722
2011-03-22Initialize geom in window_get_geometry.Stig Bjørlykke1-0/+2
Coverity 804. svn path=/trunk/; revision=36259
2011-02-07Fix typo.Guy Harris1-1/+1
svn path=/trunk/; revision=35856
2011-02-07And even more -DGSEAL_ENABLE cleanup for GTK+ 3.0 preparation...Stephen Fisher1-6/+40
svn path=/trunk/; revision=35849
2011-02-01Replace a couple of deprecated functions # ifdef:ed with the GTK version ↵Anders Broman1-0/+4
they are deprecated in. svn path=/trunk/; revision=35740
2010-10-12Define some fcns & vars as static;Bill Meier1-1/+1
Rename g_capture_in_progress to gbl_capture_in_progress (capture_if_dlg.c) Do some whitespace cleanup. svn path=/trunk/; revision=34490
2010-09-27Format changes from r34265 to fit a 80 column wide window.Stephen Fisher1-6/+9
svn path=/trunk/; revision=34268
2010-09-27Fix bug #553 by ensuring that the upper-left corner of Wireshark is within ↵Stephen Fisher1-0/+22
the viewable area of the monitor. svn path=/trunk/; revision=34265
2010-08-29Doxygen changes.Anders Broman1-1/+1
svn path=/trunk/; revision=33991
2010-08-20Don't leak the memory used by the original title when we're appending the ↵Jeff Morriss1-3/+5
version to it. svn path=/trunk/; revision=33864
2010-08-08Don't set the icon name:Guy Harris1-14/+12
1) the GTK+ documentation recommends against it; 2) the X11 implementation of gtk_window_set_title() sets the icon name to the title, so gdk_window_set_icon_name() doesn't do anything interesting, and the Win32 and Quartz implementations of gdk_window_set_icon_name() don't do anything; 3) gdk_window_set_icon_name() either crashes or complains if it's handed a null pointer, which happens at startup. Clean up indentation. svn path=/trunk/; revision=33739
2010-08-07From Cal Turney:Anders Broman1-13/+26
Optionally display Wireshark version in the main window's title bar. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5040 svn path=/trunk/; revision=33729
2010-07-30(Minor) Cleanup some "event callback" function declarations/definitions:Bill Meier1-3/+3
- Add missing 'user_data' arg as needed; - Use gboolean rather than int as the type of the value returned. Also: Cleanup whitespace & reformat long lines in a few cases. svn path=/trunk/; revision=33679
2010-07-28(Trivial) Fix some typos; Also: Use consistent indentation.Bill Meier1-359/+359
svn path=/trunk/; revision=33647
2010-07-20Add ws_combo_box_new_text_and_pointer_full() to allow returningBill Meier1-2/+34
the cell renderer associated with the ComboBox. svn path=/trunk/; revision=33591
2010-07-15Change ws_combo_box... to use a tree-store instead of a list-store;Bill Meier1-30/+53
This allows the dispay of the ws_combo_box choices as a tree. Also: Rename ws_combo_box_append_text_and_pointer_with_sensitivity() to ws_combo_box_append_text_and_pointer_full(). svn path=/trunk/; revision=33538
2010-07-13ws_combo_box_text_and_pointer: allow setting entries as "insensitive".Bill Meier1-10/+39
svn path=/trunk/; revision=33494
2010-06-06From Jim Young:Anders Broman1-1/+0
Remove unneeded "gtk_tree_path_free(path);" from case "GDK_Return:" in tree_view_key_pressed_cb() that was reverted in r32957 to restore X11 functionality lost in refactored code from r32323. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4847 svn path=/trunk/; revision=33112
2010-05-25r32323 broke packet detail tree expansion using the left/right keys onGerald Combs1-4/+18
X11. Add back the removed code and add checks for expandable items. svn path=/trunk/; revision=32957
2010-05-20Fix for bug 4778:Jaap Keuter1-0/+3
Check that the widget pointer is still present. svn path=/trunk/; revision=32911
2010-05-11Replace deprecated gtk_input_add_full()Anders Broman1-12/+19
svn path=/trunk/; revision=32750
2010-04-30Replace GtkClist in uat_gui.c with GtkTreeView+GtkListStore. Pop up theGerald Combs1-0/+67
edit window when an item is double-clicked. Add a couple of convenience routines to gui_utils.c. svn path=/trunk/; revision=32621
2010-03-28From Jim Young:Anders Broman1-15/+39
patch to gui_utils.c to allow the new packetlist to respond to left/right keystrokes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4614 svn path=/trunk/; revision=32323
2010-02-24Update (slightly) the description of ws_combo_box_clear_text_and_pointer().Bill Meier1-0/+2
svn path=/trunk/; revision=31971
2010-02-22Add ws_combo_box_new_text_and_pointer() and related which provides aBill Meier1-0/+119
variant of gtk_combo_box which stores a pointer along as well as text for each combo_box entry. svn path=/trunk/; revision=31947
2009-12-01Fix a comment.Guy Harris1-1/+1
svn path=/trunk/; revision=31146
2009-12-01Use pango_font_description_get_size() to pad out the default columnGerald Combs1-5/+3
size. This may require tweaking, e.g. with pango_font_description_set_absolute_size(). svn path=/trunk/; revision=31145
2009-12-01Clean up indentation a bit more.Guy Harris1-21/+21
svn path=/trunk/; revision=31139
2009-12-01Squelch LLP64 warning.Guy Harris1-106/+104
Clean up indentation somewhat. svn path=/trunk/; revision=31138
2009-11-30Add a character's spacing when resizing columns.Anders Broman1-2/+6
svn path=/trunk/; revision=31134
2009-11-04Add a convenience routine to convert pixbuf data generated byGerald Combs1-0/+9
gdk-pixbuf-csource to a GtkImage. Use it to load the expert indicator images. Add prettier indicator images. The "chat" indicator is more blue in order to differentiate it from the "none" indicator; make the chat text background more blue to match. svn path=/trunk/; revision=30825
2009-10-09From Didier Gautheron:Anders Broman1-2/+3
- memory leak, free the list after walking it, ie free a NULL list, ie free nothing. I've only fixed bugs introduced by me with GTKCList to TreeView modifs, it seems there's the same bug in gtk/dlg_utils.c. svn path=/trunk/; revision=30421
2009-10-09From Didier Gautheron:Anders Broman1-0/+66
- Display number with a space as thousand separator. - Move functions use both by conversations and hostlist in gui_utils.c, they may be useful for other taps too. svn path=/trunk/; revision=30416
2009-09-13From Didier Gautheron:Anders Broman1-5/+9
optimizations patch http://wiki.wireshark.org/Development/Optimization 'patch.29854.diff.gz" Speed up sorting. svn path=/trunk/; revision=29879
2009-08-27make the columns sortable.Anders Broman1-0/+25
svn path=/trunk/; revision=29583
2009-08-27Don't copy const strings, store the pointer in the list store instead,Anders Broman1-1/+24
saves memory. svn path=/trunk/; revision=29582
2009-07-31Include packet_info.h before ui_utils.h since we just started passing aStephen Fisher1-0/+1
packet_info structure to one of the functions. svn path=/trunk/; revision=29251