aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/dlg_utils.c
AgeCommit message (Collapse)AuthorFilesLines
2011-07-13make compiling with -DGTK_DISABLE_DEPRECATED workJörg Mayer1-0/+4
svn path=/trunk/; revision=38004
2011-07-05Support selecting multiple interfaces in the capture/interfacesMichael Tüxen1-0/+14
dialog. Until the capture/options dialog supports multiple interfaces, the options button is only selectable when 0 or 1 interfaces are selected. This patch is based on work by Irene Ruengeler. svn path=/trunk/; revision=37903
2011-06-29Cleanup whitespaces/indentation.Michael Tüxen1-54/+54
svn path=/trunk/; revision=37827
2011-02-07And even more -DGSEAL_ENABLE cleanup for GTK+ 3.0 preparation...Stephen Fisher1-0/+12
svn path=/trunk/; revision=35849
2010-06-23Added a "Follow Stream" button to the conversations dialog.Stig Bjørlykke1-0/+4
svn path=/trunk/; revision=33304
2009-10-22From Lars Ruoff:Jaap Keuter1-0/+7
Do not make dialog windows transient to the Wireshark top level window on WIN32, since this causes some strange behaviour on Windows. See http://www.wireshark.org/lists/wireshark-dev/200909/msg00184.html svn path=/trunk/; revision=30667
2009-06-01(Trivial): remove a comment referring to Gtk 1Bill Meier1-1/+0
svn path=/trunk/; revision=28567
2009-05-27Change button label to "Quit without Saving" from "Continue without Saving" Balint Reczey1-1/+3
when exiting Wireshark and having an open, not yet saved capture file. This fixes bug 1427. svn path=/trunk/; revision=28502
2009-03-06Fix some usage of deprecated GTK+ functionsBill Meier1-2/+2
svn path=/trunk/; revision=27630
2009-02-10add a stock icon "WIRESHARK_STOCK_MAP" to display a mapUlf Lamping1-0/+19
svn path=/trunk/; revision=27413
2008-06-29Fix some simple cases of GTK2 deprecated API usage by using a renamed or ↵Bill Meier1-1/+1
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-04-27Remove all GTK+ < 2.4 code and minimum version checks.Stephen Fisher1-15/+0
svn path=/trunk/; revision=25182
2008-04-16add "Save As" and "Save All" buttons to the dialog / stock_icons utilsUlf Lamping1-0/+8
use them in the export object dialog svn path=/trunk/; revision=25072
2008-04-16a better spacing between the help and copy buttonsUlf Lamping1-3/+2
svn path=/trunk/; revision=25071
2008-04-16fix button sequence, show filter... button left to Cancel buttonUlf Lamping1-2/+2
svn path=/trunk/; revision=25064
2008-04-16special handling for the dialog boxes Copy buttons, as the behaviour is more ↵Ulf Lamping1-1/+10
like an auxiliary button (like Help), than one of the "action" buttons as "Ok" (as e.g. Ok will close the dialog). To make this more clear put the Copy button to the left of the button row ... svn path=/trunk/; revision=25062
2008-04-14get_profile_name() will always return a valid string.Stig Bjørlykke1-3/+0
svn path=/trunk/; revision=25017
2008-04-14From Jim Young (bug 2212):Sake Blok1-0/+29
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-13sort #includes by directoriesUlf Lamping1-7/+6
svn path=/trunk/; revision=24968
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-11second round to replace SIGNAL_CONNECT with g_signal_connectUlf Lamping1-2/+2
This requires some casts to be added and I just don't want to add casts at all possible places. So I compile and only add casts where the (MSVC) compiler has a hard time. Unfortunately this won't find any problems in Linux/Unix only code - I'll keep an eye on the buildbot and try to fix things as I'm going on ... svn path=/trunk/; revision=24913
2008-04-11replace all appearances of BUTTON_NEW_FROM_STOCK with GTK2's ↵Ulf Lamping1-2/+2
gtk_button_new_from_stock svn path=/trunk/; revision=24904
2008-04-11OBJECT_..._DATA --> g_object_..._dataBill Meier1-4/+4
svn path=/trunk/; revision=24895
2008-04-09fix some GTK1 related commentsUlf Lamping1-2/+2
svn path=/trunk/; revision=24862
2008-04-07Remove GTK1 code and change ugly version checking statements intoStephen Fisher1-1/+1
GTK_CHECK_VERSION(). svn path=/trunk/; revision=24826
2008-04-06remove GTK1 codeUlf Lamping1-76/+1
svn path=/trunk/; revision=24816
2007-11-20Add relative start time, duration, and average data rate (bps) columnsGerald Combs1-11/+15
to the conversation lists. Move the "copy" button down to the button bar in order to free up some real estate. Add an nstime_cmp() function. Clean up code in a few places. svn path=/trunk/; revision=23516
2007-01-29Finish (?) UAT's GUILuis Ontanon1-0/+9
svn path=/trunk/; revision=20605
2007-01-20Trying to get buildbot Windows-XP-x86 to build again.Jaap Keuter1-15/+1
Reverting GTK2 to GTK1.2 functionname svn path=/trunk/; revision=20508
2007-01-20Recent versions of GTK+ have added a "gtk-label-select-on-focus"Gerald Combs1-2/+33
property, which selects the entire contents of a label when it comes into focus. This property annoyingly defaults to TRUE, which meant that the labels in simple dialogs and the about box would unexpectedly show up selected. Work around this by setting the focus on the "OK" button in the about dialog and the first button specified in simple dialogs. svn path=/trunk/; revision=20507
2006-08-25fix bug #1057: remove "start" completelyUlf Lamping1-5/+0
svn path=/trunk/; revision=19029
2006-08-24capture interfaces dialog: use capture stock icons instead of plain text buttonsUlf Lamping1-5/+21
capture info dialog: add a "Help" and use stock buttons svn path=/trunk/; revision=19020
2006-05-28Ethereal->WiresharkAnders Broman1-4/+4
svn path=/trunk/; revision=18232
2006-05-22Get rid of a bunch of "Ethereal"s and "ethereal"s in comments, GUIGuy Harris1-1/+1
strings, and function names. svn path=/trunk/; revision=18205
2006-05-21name changeRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18197
2006-04-30We need <gdk/gdkkeysyms.h> to define GDK_VoidSymbol.Guy Harris1-2/+0
svn path=/trunk/; revision=18037
2006-04-30Move the file selection dialog routines to file_dlg.c, and give it aGuy Harris1-292/+10
header file. #if 0 out some includes; if none of the builds have a problem with that, I'll remove them. svn path=/trunk/; revision=18036
2006-04-20add a help button to the "Follow TCP Stream" dialog (and use standard button ↵Ulf Lamping1-0/+2
row for it too) svn path=/trunk/; revision=17931
2005-09-20enhance simple dialog: add the possibility to use no buttons at all and add ↵Ulf Lamping1-4/+5
a stop icon (similar to the splash_window, but with a slightly different layout and a way to choose the icon shown) svn path=/trunk/; revision=15886
2005-09-09Don't handle the ETHEREAL_STOCK_CAPTURE_START button if we don't haveGuy Harris1-1/+3
libpcap - ETHEREAL_STOCK_CAPTURE_START isn't defined, and we can't capture in any case, so we don't need that button. svn path=/trunk/; revision=15736
2005-08-20renamed ui_util.c/.h to gui_utils.c/.h to prevent confusion with identical ↵Ulf Lamping1-1/+1
named ui_util.h in / dir svn path=/trunk/; revision=15465
2005-08-05More char -> const char warning fixes.Jörg Mayer1-19/+19
Removed (very few) casts that only change the warning message but don't remove it (with gcc-4). svn path=/trunk/; revision=15227
2005-04-19ask for unsaved file when using the new start capture feature,Ulf Lamping1-0/+9
ask for unsaved file when really starting the capture, not already when showing the options dialog, use the start capture icon in the capture options dialog (instead of simply Ok) svn path=/trunk/; revision=14142
2005-02-27From Martin MathielsonLuis Ontanon1-1/+2
- from the "Capture Options" dialog, if you select the Capture Filter(s) file browser, Cancel doesn't work. svn path=/trunk/; revision=13530
2004-09-30For file browsing dialog boxes, the affirmative button should be "OK",Guy Harris1-0/+15
not "Save". In UN*X with GTK+ 2.x, put the affirmative button in file dialogs to the right of the cancel button, as is done with other dialogs. svn path=/trunk/; revision=12146
2004-09-11Use _WIN32 rather than WIN32 to determine if we're compiling on Win32;Guy Harris1-3/+4
according to Gisle Vanem, WIN32 isn't a built-in in MSVC, but _WIN32 is. svn path=/trunk/; revision=11972
2004-07-18Set the svn:eol-style property on all text files to "native", so thatGuy Harris1-1/+1
they have LF at the end of the line on UN*X and CR/LF on Windows; hopefully this means that if a CR/LF version is checked in on Windows, the CRs will be stripped so that they show up only when checked out on Windows, not on UN*X. svn path=/trunk/; revision=11400
2004-07-13From Daniel Thompson: add additional message/alert box options toGuy Harris1-2/+12
display "Save", "Continue without Saving", and "Cancel", for the "do you want to save?" messages. svn path=/trunk/; revision=11372
2004-07-12bugfix to a bug reported by Ian Schorr:Ulf Lamping1-2/+2
don't present main window when closing dialogs on GTK2.4, as this might be a statistic window svn path=/trunk/; revision=11367
2004-07-12bugfix to a bug reported by Ian Schorr:Ulf Lamping1-3/+9
GTK2.4 open directory doesn't go into last opened dir (this will affect all open file dialogs) svn path=/trunk/; revision=11365