diff options
Diffstat (limited to 'gtk/gui_prefs.c')
-rw-r--r-- | gtk/gui_prefs.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/gui_prefs.c b/gtk/gui_prefs.c index 444e3d14c2..83ceac28ed 100644 --- a/gtk/gui_prefs.c +++ b/gtk/gui_prefs.c @@ -1,7 +1,7 @@ /* gui_prefs.c * Dialog box for GUI preferences * - * $Id: gui_prefs.c,v 1.61 2004/01/31 02:25:45 ulfl Exp $ + * $Id: gui_prefs.c,v 1.62 2004/01/31 03:22:40 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -336,7 +336,7 @@ font_fetch(void) /* No font was selected; let the user know, but don't tear down the font selection dialog, so they can try again. */ - simple_dialog(ESD_TYPE_ERROR | ESD_TYPE_MODAL, NULL, + simple_dialog(ESD_TYPE_ERROR | ESD_TYPE_MODAL, ESD_BTN_OK, "You have not selected a font."); return FALSE; } @@ -354,7 +354,7 @@ font_fetch(void) /* Oops, that font didn't work. Tell the user, but don't tear down the font selection dialog, so that they can try again. */ - simple_dialog(ESD_TYPE_ERROR | ESD_TYPE_MODAL, NULL, + simple_dialog(ESD_TYPE_ERROR | ESD_TYPE_MODAL, ESD_BTN_OK, "The font you selected cannot be loaded."); g_free(font_name); @@ -374,7 +374,7 @@ font_fetch(void) /* Oops, that font didn't work. Tell the user, but don't tear down the font selection dialog, so that they can try again. */ - simple_dialog(ESD_TYPE_ERROR | ESD_TYPE_MODAL, NULL, + simple_dialog(ESD_TYPE_ERROR | ESD_TYPE_MODAL, ESD_BTN_OK, "The font you selected doesn't have a boldface version."); g_free(font_name); @@ -474,7 +474,7 @@ gui_prefs_apply(GtkWidget *w _U_) case FA_FONT_NOT_AVAILABLE: /* We assume this means that the specified size isn't available. */ - simple_dialog(ESD_TYPE_ERROR, NULL, + simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK, "That font font isn't available at the specified zoom level;\n" "turning zooming off."); recent.gui_zoom_level = 0; |