aboutsummaryrefslogtreecommitdiffstats
path: root/simple_dialog.h
AgeCommit message (Collapse)AuthorFilesLines
2004-04-16Add a "report_failure()" routine to allow dissectors to report arbitraryGuy Harris1-3/+17
errors to the user. Use that, rather than "g_warning()", in the Diameter dissector to report errors reading the dictionary. Make the format argument to "simple_dialog()" a "const" pointer. Fix up the read-error message in Tethereal to end with a newline. If a simple dialog is requested before the main window or the capture-control window is popped up, queue it up and pop the queued messages up once the main or capture-control window is displayed. svn path=/trunk/; revision=10616
2004-02-12The HIG's and/or GUI toolkit documentation for:Guy Harris1-5/+1
Mac OS X GNOME Qt KDE Windows all indicate that {message,alert} boxes are modal, at least for the window to which they apply. (Presumably the idea is that not forcing the user to pay attention to the alert box, and allowing more than one alert box to be up for a given window, causes more problems than not letting the user do stuff to that window in order to figure out what the underlying problem is or figure out what to do to fix it - the message should be sufficient, in most if not all cases, to let you know what the problem is.) Make "simple_dialog()" unconditionally make the alert box modal, and get rid of ESD_TYPE_MODAL. XXX - we need to make it possible to make an alert box modal for a given window, rather than just the top-level window. svn path=/trunk/; revision=10051
2004-02-11Get rid of the "Question" alert box type - rename it to "Confirmation",Guy Harris1-7/+7
as that seems to be the name used in the GNOME HIG, at least. Make it use the Warning icon (that's what the GNOME HIG says - and it's also what's used for the equivalent on Windows), and use it for the "Save current capture?" alert boxes. svn path=/trunk/; revision=10030
2004-02-04Add some comments about the types of alert boxes you get with theGuy Harris1-5/+19
simple_dialog routines (which are really just message box/alert box routines). Add some macros for combinations of buttons (corresponding to combinations that some GUI toolkits, which only support some combinations, allow). svn path=/trunk/; revision=9977
2004-02-03enhanced some dialog messages,Ulf Lamping1-1/+4
close capture file when user told so svn path=/trunk/; revision=9965
2004-01-31cleanup of new "question dialogs",Ulf Lamping1-5/+6
using GTK2 primary/secondary message text from GNOME HIG for simple_dialogs, added a "question dialog" for the coloring rules "Clear" button svn path=/trunk/; revision=9921
2004-01-31renamed ESD_TYPE_CRIT to ESD_TYPE_ERROR toUlf Lamping1-2/+2
better reflect the real error text svn path=/trunk/; revision=9913
2004-01-29added "Yes" and "No" buttons to the simple_dialog,Ulf Lamping1-6/+16
added a callback method, to be called if a button was pressed svn path=/trunk/; revision=9907
2002-08-28Removed trailing whitespaces from .h and .c files using theJörg Mayer1-4/+4
winapi_cleanup tool written by Patrik Stridvall for the wine project. svn path=/trunk/; revision=6117
2001-07-22Do __attribute__ stuff if the GCC version number is greater than orGuy Harris1-2/+2
equal to 2, not just if it's equal to 2 - GCC 3.0 makes it 3, not 2.... svn path=/trunk/; revision=3765
2000-10-09Add support for modal message boxes ("simple dialog").Guy Harris1-4/+8
Make the message boxes popped up for errors when selecting a font modal, so that the user has to say "yes, I know, I'll do better next time" before hitting "OK" again, so that you don't get a pile of message boxes. svn path=/trunk/; revision=2485
2000-01-03Take the "simple_dialog()" stuff out of "ui_util.h" and "gtk/ui_util.c",Guy Harris1-0/+54
and move it to "simple_dialog.h" and "gtk/simple_dialog.c". svn path=/trunk/; revision=1414