From b04bd957c79358e009caf31dafee3889e1ec6492 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Tue, 25 Mar 2003 15:48:33 +0000 Subject: Update for e_notice move. Likewise Likewise Likewise Likewise Likewise * e-folder-dnd-bridge.c: Update for e_notice move. * e-setup.c: Likewise * e-shell-folder-commands.c: Likewise * e-shell-folder-creation-dialog.c: Likewise * e-shell-offline-sync.c: Likewise * e-shell-shared-folder-picker-dialog.c: Likewise * e-shell-view-menu.c: Likewise * e-shell.c: Likewise * evolution-shell-component-utils.c: Likewise * Makefile.am (libeshell_la_LIBADD): libeshell depends on libeutil. * e-corba-storage.c: Fix warnings svn path=/trunk/; revision=20500 --- shell/e-shell-folder-creation-dialog.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'shell/e-shell-folder-creation-dialog.c') diff --git a/shell/e-shell-folder-creation-dialog.c b/shell/e-shell-folder-creation-dialog.c index 617a6dd936..b4bc19208b 100644 --- a/shell/e-shell-folder-creation-dialog.c +++ b/shell/e-shell-folder-creation-dialog.c @@ -38,12 +38,13 @@ #include #include -#include #include "e-storage-set.h" #include "e-storage-set-view.h" #include "e-shell-utils.h" +#include "e-util/e-dialog-utils.h" + #include "e-shell-folder-creation-dialog.h" @@ -122,7 +123,7 @@ async_create_cb (EStorageSet *storage_set, dialog_data->folder_path, dialog_data->result_callback_data); - e_notice (GTK_WINDOW (dialog_data->dialog), GTK_MESSAGE_ERROR, + e_notice (dialog_data->dialog, GTK_MESSAGE_ERROR, _("Cannot create the specified folder:\n%s"), e_storage_result_to_string (result)); @@ -165,7 +166,7 @@ dialog_response_cb (GtkDialog *dialog, folder_name = gtk_entry_get_text(GTK_ENTRY (dialog_data->folder_name_entry)); if (! e_shell_folder_name_is_valid (folder_name, &reason)) { - e_notice (GTK_WINDOW (dialog), GTK_MESSAGE_ERROR, + e_notice (dialog, GTK_MESSAGE_ERROR, _("The specified folder name is not valid: %s"), reason); return; } -- cgit v1.2.3