aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/capture_dlg.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-01-31 12:13:23 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-01-31 12:13:23 +0000
commitd244cd82f545a78b2b4b04e962a3ad4f32480d58 (patch)
tree8c38f7339f3ed3511894d6d435e34d0d83bfe01d /gtk/capture_dlg.c
parentd4857dc7060547a22e644221a6a20a3a85d9b2fd (diff)
cleanup of new "question dialogs",
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
Diffstat (limited to 'gtk/capture_dlg.c')
-rw-r--r--gtk/capture_dlg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/capture_dlg.c b/gtk/capture_dlg.c
index 90de6fcf8d..123e1aaf56 100644
--- a/gtk/capture_dlg.c
+++ b/gtk/capture_dlg.c
@@ -1,7 +1,7 @@
/* capture_dlg.c
* Routines for packet capture windows
*
- * $Id: capture_dlg.c,v 1.100 2004/01/31 03:22:39 guy Exp $
+ * $Id: capture_dlg.c,v 1.101 2004/01/31 12:13:22 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -785,10 +785,10 @@ capture_prep_cb(GtkWidget *w _U_, gpointer d _U_)
if((cfile.state != FILE_CLOSED) && !cfile.user_saved) {
/* user didn't saved his current file, ask him */
- dialog = simple_dialog(ESD_TYPE_QUEST | ESD_TYPE_MODAL,
+ dialog = simple_dialog(ESD_TYPE_WARN | ESD_TYPE_MODAL,
ESD_BTN_YES | ESD_BTN_NO | ESD_BTN_CANCEL,
- "Save packets to \"%s\" before capturing?",
- cf_get_display_name(&cfile));
+ PRIMARY_TEXT_START "Save capture file before starting a new capture?" PRIMARY_TEXT_END "\n\n"
+ "If you start a new capture without saving, your current capture data will be discarded.");
simple_dialog_set_cb(dialog, capture_prep_answered_cb, NULL);
} else {
/* unchanged file, just capture a new one */