aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@novell.com>2004-06-05 01:00:52 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-06-05 01:00:52 +0800
commitfcbe2d020de307925448a78976ed28b9702f205f (patch)
tree0c06b4a16455ed4bccc9ab0c686e313dbfd5aa11 /composer/e-msg-composer.c
parentfaadbee16a5f98b3d2014ef3e063126e0981b2f2 (diff)
downloadgsoc2013-evolution-fcbe2d020de307925448a78976ed28b9702f205f.tar.gz
gsoc2013-evolution-fcbe2d020de307925448a78976ed28b9702f205f.tar.zst
gsoc2013-evolution-fcbe2d020de307925448a78976ed28b9702f205f.zip
Use e_error_run() instead of the e_activation_error_dialog() stuff that no
2004-06-04 Jeffrey Stedfast <fejj@novell.com> * e-msg-composer.c (create_composer): Use e_error_run() instead of the e_activation_error_dialog() stuff that no longer exists. svn path=/trunk/; revision=26215
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r--composer/e-msg-composer.c22
1 files changed, 4 insertions, 18 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index fb03c9782a..5b1d60bd46 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -158,7 +158,7 @@ static GtkTargetEntry drop_types[] = {
static int num_drop_types = sizeof (drop_types) / sizeof (drop_types[0]);
-static const char * emc_draft_format_names[] = { "pgp-sign", "pgp-encrypt", "smime-sign", "smime-encrypt" };
+static const char *emc_draft_format_names[] = { "pgp-sign", "pgp-encrypt", "smime-sign", "smime-encrypt" };
/* The parent class. */
@@ -3143,11 +3143,7 @@ create_composer (int visible_mask)
vis = e_msg_composer_get_visible_flags (composer);
composer->hdrs = e_msg_composer_hdrs_new (composer->uic, visible_mask, vis);
if (!composer->hdrs) {
- e_activation_failure_dialog (GTK_WINDOW (composer),
- _("Could not create composer window:\n"
- "Unable to activate address selector control."),
- SELECT_NAMES_OAFIID,
- "IDL:Bonobo/Control:1.0");
+ e_error_run (GTK_WINDOW (composer), "mail-composer:no-address-control", NULL);
gtk_object_destroy (GTK_OBJECT (composer));
return NULL;
}
@@ -3171,13 +3167,7 @@ create_composer (int visible_mask)
GNOME_GTKHTML_EDITOR_CONTROL_ID,
bonobo_ui_component_get_container (composer->uic));
if (!composer->editor) {
- e_activation_failure_dialog (GTK_WINDOW (composer),
- _("Could not create composer window:\n"
- "Unable to activate HTML editor component.\n"
- "Please make sure you have the correct version\n"
- "of gtkhtml and libgtkhtml installed.\n"),
- GNOME_GTKHTML_EDITOR_CONTROL_ID,
- "IDL:Bonobo/Control:1.0");
+ e_error_run (GTK_WINDOW (composer), "mail-composer:no-editor-control", NULL);
gtk_object_destroy (GTK_OBJECT (composer));
return NULL;
}
@@ -3275,11 +3265,7 @@ create_composer (int visible_mask)
e_msg_composer_show_attachments (composer, FALSE);
prepare_engine (composer);
if (composer->editor_engine == CORBA_OBJECT_NIL) {
- e_activation_failure_dialog (GTK_WINDOW (composer),
- _("Could not create composer window:\n"
- "Unable to activate HTML editor component."),
- GNOME_GTKHTML_EDITOR_CONTROL_ID,
- "IDL:GNOME/GtkHTML/Editor/Engine:1.0");
+ e_error_run (GTK_WINDOW (composer), "mail-composer:no-editor-control", NULL);
gtk_object_destroy (GTK_OBJECT (composer));
return NULL;
}