From f963cc39a7d21f64f578dae50fd08c44181a3bf6 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 9 Mar 2009 03:31:24 +0000 Subject: 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 --- e-util/e-binding.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'e-util/e-binding.c') diff --git a/e-util/e-binding.c b/e-util/e-binding.c index 26e23ee792..6a29166cc1 100644 --- a/e-util/e-binding.c +++ b/e-util/e-binding.c @@ -524,11 +524,13 @@ e_binding_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; } -- cgit v1.2.3