diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-02-11 03:55:48 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-02-11 03:55:48 +0000 |
commit | ba2666a62a178511c53188cbfd18203d08b8e2af (patch) | |
tree | 3d37bea302ee813754be0fc8ec00d0db86975416 /gtk/menu.c | |
parent | 613c3975c3f8f8534a61e28fa73b08e92523db49 (diff) |
Get rid of the "Question" alert box type - rename it to "Confirmation",
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
Diffstat (limited to 'gtk/menu.c')
-rw-r--r-- | gtk/menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/menu.c b/gtk/menu.c index 25c815568f..fce970053e 100644 --- a/gtk/menu.c +++ b/gtk/menu.c @@ -1,7 +1,7 @@ /* menu.c * Menu routines * - * $Id: menu.c,v 1.159 2004/02/04 20:46:20 guy Exp $ + * $Id: menu.c,v 1.160 2004/02/11 03:55:48 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -839,7 +839,7 @@ menu_open_recent_file_cmd_cb(GtkWidget *widget, gpointer data _U_) { if((cfile.state != FILE_CLOSED) && !cfile.user_saved) { /* user didn't saved his current file, ask him */ - dialog = simple_dialog(ESD_TYPE_WARN | ESD_TYPE_MODAL, + dialog = simple_dialog(ESD_TYPE_CONFIRMATION | ESD_TYPE_MODAL, ESD_BTNS_YES_NO_CANCEL, PRIMARY_TEXT_START "Save capture file before opening a new one?" PRIMARY_TEXT_END "\n\n" "If you open a new capture file without saving, your current capture data will be discarded."); |