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-composer-prefs.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-composer-prefs.c')
-rw-r--r-- | mail/em-composer-prefs.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mail/em-composer-prefs.c b/mail/em-composer-prefs.c index 9b81935e90..dbc174340e 100644 --- a/mail/em-composer-prefs.c +++ b/mail/em-composer-prefs.c @@ -82,11 +82,13 @@ transform_string_to_color (const GValue *src_value, { GdkColor color; const gchar *string; - gboolean success; + gboolean success = FALSE; string = g_value_get_string (src_value); - if (gdk_color_parse (string, &color)) + if (gdk_color_parse (string, &color)) { g_value_set_boxed (dst_value, &color); + success = TRUE; + } return success; } |