diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2009-03-09 11:31:24 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2009-03-09 11:31:24 +0800 |
commit | f963cc39a7d21f64f578dae50fd08c44181a3bf6 (patch) | |
tree | 7cdf0c0c9bab037272ba6fca48aebbccd4c0de74 /mail/em-utils.c | |
parent | 85d0142d21286ce87cd5f6c3d1e2f71aa994151f (diff) | |
download | gsoc2013-evolution-f963cc39a7d21f64f578dae50fd08c44181a3bf6.tar.gz gsoc2013-evolution-f963cc39a7d21f64f578dae50fd08c44181a3bf6.tar.zst gsoc2013-evolution-f963cc39a7d21f64f578dae50fd08c44181a3bf6.zip |
Cleaning up the attachment bar, centralizing its popup menu, and converting
everything to GtkUIManager/GtkActions. Saving progress mid-stream... not
sure about the MIME part utilities yet.
Also, add some EActivity subclasses. Considering an EFileActivity subclass
for asynchronous GIO operations (loading/saving attachments, etc.), but still
ironing out details.
svn path=/branches/kill-bonobo/; revision=37389
Diffstat (limited to 'mail/em-utils.c')
-rw-r--r-- | mail/em-utils.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/mail/em-utils.c b/mail/em-utils.c index 9899c10f8b..34562bb44d 100644 --- a/mail/em-utils.c +++ b/mail/em-utils.c @@ -71,7 +71,7 @@ #include "e-util/e-account-utils.h" #include "e-util/e-dialog-utils.h" #include "e-util/e-error.h" - +#include "widgets/misc/e-alert-activity.h" #include "em-utils.h" #include "em-composer-utils.h" @@ -814,7 +814,7 @@ tag_editor_response (GtkWidget *dialog, int button, struct ted_t *ted) camel_tag_list_free (&tags); if (ted->emfv->preview) - em_format_redraw(ted->emfv->preview); + em_format_redraw (EM_FORMAT (ted->emfv->preview)); } gtk_widget_destroy (dialog); @@ -2407,8 +2407,7 @@ em_utils_show_error_silent (GtkWidget *widget) { EActivity *activity; - activity = e_activity_new (NULL); - e_activity_error (activity, widget); + activity = e_alert_activity_new_warning (widget); e_shell_module_add_activity (mail_shell_module, activity); g_object_unref (activity); @@ -2423,8 +2422,7 @@ em_utils_show_info_silent (GtkWidget *widget) { EActivity *activity; - activity = e_activity_new (NULL); - e_activity_info (activity, widget); + activity = e_alert_activity_new_info (widget); e_shell_module_add_activity (mail_shell_module, activity); g_object_unref (activity); |