aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-local.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-02-11 03:50:55 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-02-11 03:50:55 +0800
commit0701addc195c6315474346c9bd062dc7dc84f80c (patch)
tree3306df04d1b6995eee80aa8fbabe617507dcb145 /mail/mail-local.c
parent33841eb730d8a62aee6793dd54e624281bf58142 (diff)
downloadgsoc2013-evolution-0701addc195c6315474346c9bd062dc7dc84f80c.tar.gz
gsoc2013-evolution-0701addc195c6315474346c9bd062dc7dc84f80c.tar.zst
gsoc2013-evolution-0701addc195c6315474346c9bd062dc7dc84f80c.zip
Use g_signal_emit() rather than gtk_signal_emit(). (build_flat): Same
2003-02-10 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (build_tree): Use g_signal_emit() rather than gtk_signal_emit(). (build_flat): Same here. * mail-signature-editor.c: #include <string.h> * mail-vfolder.c: #include <string.h> * mail-session.c: #include <string.h> * mail-search.c: #include <string.h> * mail-mt.c: #include <string.h> * mail-ops.c (save_part_save): Use strcasecmp() instead of g_strcasecmp(). * mail-local.c: #include <string.h> (reconfigure_folder_reconfigured): Use a GtkDialog instead of gnome_error_dialog(). * mail-format.c (find_preferred_alternative): Use g_ascii_strdown since g_strdown is deprecated. (fake_mime_part_from_data): Removed, no longer used it seems. (destroy_part): Also removed. * mail-display.c (make_popup_window): Replace call to gtk_window_set_polociy() with gtk_window_set_resizable() instead. (popup_size_allocate_cb): Use gtk_window_set_position() with GTK_WIN_POS_MOUSE instead of calculating the position to put it in. svn path=/trunk/; revision=19878
Diffstat (limited to 'mail/mail-local.c')
-rw-r--r--mail/mail-local.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/mail/mail-local.c b/mail/mail-local.c
index 010ea12eec..04127c09bb 100644
--- a/mail/mail-local.c
+++ b/mail/mail-local.c
@@ -29,6 +29,7 @@
#include <config.h>
#endif
+#include <string.h>
#include <unistd.h>
#include <errno.h>
@@ -1344,11 +1345,15 @@ static void
reconfigure_folder_reconfigured (struct _mail_msg *mm)
{
struct _reconfigure_msg *m = (struct _reconfigure_msg *)mm;
+ GtkWidget *dialog;
/*char *uri;*/
if (camel_exception_is_set (&mm->ex)) {
- gnome_error_dialog (_("If you can no longer open this mailbox, then\n"
- "you may need to repair it manually."));
+ dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR,
+ GTK_BUTTONS_OK, "%s",
+ _("If you can no longer open this mailbox, then\n"
+ "you may need to repair it manually."));
+ gtk_dialog_run (GTK_DIALOG (dialog));
}
if (m->done)