aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-binding.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2009-03-09 11:31:24 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2009-03-09 11:31:24 +0800
commitf963cc39a7d21f64f578dae50fd08c44181a3bf6 (patch)
tree7cdf0c0c9bab037272ba6fca48aebbccd4c0de74 /e-util/e-binding.c
parent85d0142d21286ce87cd5f6c3d1e2f71aa994151f (diff)
downloadgsoc2013-evolution-f963cc39a7d21f64f578dae50fd08c44181a3bf6.tar
gsoc2013-evolution-f963cc39a7d21f64f578dae50fd08c44181a3bf6.tar.gz
gsoc2013-evolution-f963cc39a7d21f64f578dae50fd08c44181a3bf6.tar.bz2
gsoc2013-evolution-f963cc39a7d21f64f578dae50fd08c44181a3bf6.tar.lz
gsoc2013-evolution-f963cc39a7d21f64f578dae50fd08c44181a3bf6.tar.xz
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 'e-util/e-binding.c')
-rw-r--r--e-util/e-binding.c6
1 files changed, 4 insertions, 2 deletions
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;
}