diff options
author | Gerald Combs <gerald@wireshark.org> | 2009-11-04 00:02:52 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2009-11-04 00:02:52 +0000 |
commit | 5e34f2107600ccacc2079bdf8f64f7e774d1be35 (patch) | |
tree | 5d02db77a1e48440a5ef613e1b8245200d8c2d04 /simple_dialog.h | |
parent | 8041e9732ee139e97d9a99158744b1cee4dadd26 (diff) |
Add the ability to push temporary (and highlighted) messages onto the
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.
svn path=/trunk/; revision=30810
Diffstat (limited to 'simple_dialog.h')
-rw-r--r-- | simple_dialog.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/simple_dialog.h b/simple_dialog.h index 0fc06f395a..1b503e9405 100644 --- a/simple_dialog.h +++ b/simple_dialog.h @@ -90,6 +90,7 @@ typedef enum { extern gpointer simple_dialog(ESD_TYPE_E type, gint btn_mask, const gchar *msg_format, ...) GNUC_FORMAT_CHECK(printf, 3, 4); + /** Create and show a simple dialog using a va_list. * * @param type type of dialog @@ -160,6 +161,15 @@ extern char *simple_dialog_format_message(const char *msg); */ extern void display_queued_messages(void); +/** Show a message in the status bar. + * + * @param msg Status message + */ +extern void simple_status(const gchar *msg_format, ...) + GNUC_FORMAT_CHECK(printf, 1, 2); + + + #ifdef __cplusplus } #endif /* __cplusplus */ |