aboutsummaryrefslogtreecommitdiffstats
path: root/simple_dialog.h
AgeCommit message (Collapse)AuthorFilesLines
2011-10-05Michael Mann:etxrab1-0/+2
Removed the Save button if live capture is going on when File->Quit is selected. Solves Assertion failed when doing File->Quit->Save during live capture https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1710 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39266 f5534014-38df-0310-8fa8-9805f1628bb7
2010-11-27Move main_statusbar.h to the top-level directory; none of its routinesguy1-9/+0
use GTK+ data types, so, at least in theory, it could be implemented atop another toolkit. Make statusbar_push_temporary_msg() take a format string and format arguments. Use it instead of simple_status(), and change one call to just take a format string and arguments rather than to take the result of using that format string and arguments with g_strdup_printf() and passing the result to statusbar_push_temporary_msg(). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35041 f5534014-38df-0310-8fa8-9805f1628bb7
2010-08-26Fix a number of doxygen directives.etxrab1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33929 f5534014-38df-0310-8fa8-9805f1628bb7
2010-01-25Changed from using own defined GNUC_FORMAT_CHECK to G_GNUC_PRINTFstig1-4/+2
defined in GLib. Removed epan/gnuc_format_check.h. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31657 f5534014-38df-0310-8fa8-9805f1628bb7
2009-11-04Add the ability to push temporary (and highlighted) messages onto thegerald1-0/+10
statusbar. This lets us notify the user about something significant without having to pop up an annoying window. Replace a few dialogs with statusbar messages. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30810 f5534014-38df-0310-8fa8-9805f1628bb7
2009-09-08Use Wireshark/GLib attribute specifiers instead of checking for __GNUC__ ↵krj1-36/+15
explicitly git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29804 f5534014-38df-0310-8fa8-9805f1628bb7
2009-05-27Change button label to "Quit without Saving" from "Continue without Saving" rbalint1-0/+4
when exiting Wireshark and having an open, not yet saved capture file. This fixes bug 1427. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28502 f5534014-38df-0310-8fa8-9805f1628bb7
2006-05-21name changesahlberg1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18197 f5534014-38df-0310-8fa8-9805f1628bb7
2005-10-03C89 doesn't allow a comma after the end of the last value in anguy1-1/+1
enumerator list, and some compilers don't allow it as an extension. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16075 f5534014-38df-0310-8fa8-9805f1628bb7
2005-09-20enhance simple dialog: add the possibility to use no buttons at all and add ↵ulfl1-1/+10
a stop icon (similar to the splash_window, but with a slightly different layout and a way to choose the icon shown) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15886 f5534014-38df-0310-8fa8-9805f1628bb7
2005-04-16prepare for "Don't show this message again" checkboxes in the simple_dialogulfl1-0/+14
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14100 f5534014-38df-0310-8fa8-9805f1628bb7
2004-07-25Fix the declarations for "simple_dialog()" and "vsimple_dialog()" usedguy1-2/+2
for non-GCC 2.x compilers to match their definitions. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11511 f5534014-38df-0310-8fa8-9805f1628bb7
2004-07-18Set the svn:eol-style property on all text files to "native", so thatguy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11400 f5534014-38df-0310-8fa8-9805f1628bb7
2004-07-13From Daniel Thompson: add additional message/alert box options toguy1-2/+8
display "Save", "Continue without Saving", and "Cancel", for the "do you want to save?" messages. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11372 f5534014-38df-0310-8fa8-9805f1628bb7
2004-06-04Make the definition of "simple_dialog()" match its declaration.guy1-2/+2
Make the "type" argument to "vsimple_dialog()" also be an ESD_TYPE_E. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11112 f5534014-38df-0310-8fa8-9805f1628bb7
2004-06-04add details for doxygenulfl1-27/+85
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11109 f5534014-38df-0310-8fa8-9805f1628bb7
2004-05-01The display filter engine can return an error message that is not safeobiot1-1/+2
when using GTK2 code for rendering the error. In order to correctly render the error message, it must be XML escaped. TODO: track down the remaining places where this XML escaping is required, and fix it there too (not sure if they exist though). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10764 f5534014-38df-0310-8fa8-9805f1628bb7
2004-04-16Add a "report_failure()" routine to allow dissectors to report arbitraryguy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10616 f5534014-38df-0310-8fa8-9805f1628bb7
2004-02-12The HIG's and/or GUI toolkit documentation for:guy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10051 f5534014-38df-0310-8fa8-9805f1628bb7
2004-02-11Get rid of the "Question" alert box type - rename it to "Confirmation",guy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10030 f5534014-38df-0310-8fa8-9805f1628bb7
2004-02-04Add some comments about the types of alert boxes you get with theguy1-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). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9977 f5534014-38df-0310-8fa8-9805f1628bb7
2004-02-03enhanced some dialog messages,ulfl1-1/+4
close capture file when user told so git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9965 f5534014-38df-0310-8fa8-9805f1628bb7
2004-01-31cleanup of new "question dialogs",ulfl1-5/+6
using GTK2 primary/secondary message text from GNOME HIG for simple_dialogs, added a "question dialog" for the coloring rules "Clear" button git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9921 f5534014-38df-0310-8fa8-9805f1628bb7
2004-01-31renamed ESD_TYPE_CRIT to ESD_TYPE_ERROR toulfl1-2/+2
better reflect the real error text git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9913 f5534014-38df-0310-8fa8-9805f1628bb7
2004-01-29added "Yes" and "No" buttons to the simple_dialog,ulfl1-6/+16
added a callback method, to be called if a button was pressed git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9907 f5534014-38df-0310-8fa8-9805f1628bb7
2002-08-28Removed trailing whitespaces from .h and .c files using thejmayer1-4/+4
winapi_cleanup tool written by Patrik Stridvall for the wine project. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6117 f5534014-38df-0310-8fa8-9805f1628bb7
2001-07-22Do __attribute__ stuff if the GCC version number is greater than orguy1-2/+2
equal to 2, not just if it's equal to 2 - GCC 3.0 makes it 3, not 2.... git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3765 f5534014-38df-0310-8fa8-9805f1628bb7
2000-10-09Add support for modal message boxes ("simple dialog").guy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2485 f5534014-38df-0310-8fa8-9805f1628bb7
2000-01-03Take the "simple_dialog()" stuff out of "ui_util.h" and "gtk/ui_util.c",guy1-0/+54
and move it to "simple_dialog.h" and "gtk/simple_dialog.c". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1414 f5534014-38df-0310-8fa8-9805f1628bb7