aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-preferences.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-12-14 06:05:16 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-12-14 06:05:16 +0800
commit33f5b6f67d90bffdb7a83a07d619face63e9983c (patch)
treec1b209e283b24dcf173b39bc46f8ebe4c887886c /mail/mail-preferences.c
parentd5749529a83e95689c94afed125159ddb57558c2 (diff)
downloadgsoc2013-evolution-33f5b6f67d90bffdb7a83a07d619face63e9983c.tar.gz
gsoc2013-evolution-33f5b6f67d90bffdb7a83a07d619face63e9983c.tar.zst
gsoc2013-evolution-33f5b6f67d90bffdb7a83a07d619face63e9983c.zip
Fix the colour code to get a guint32 rgb correctly (I think - can't test
2002-12-13 Jeffrey Stedfast <fejj@ximian.com> * mail-preferences.c (mail_preferences_construct): Fix the colour code to get a guint32 rgb correctly (I think - can't test because the shell keeps crashing, yay). svn path=/trunk/; revision=19114
Diffstat (limited to 'mail/mail-preferences.c')
-rw-r--r--mail/mail-preferences.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-preferences.c b/mail/mail-preferences.c
index 2941618608..1d13e17ae9 100644
--- a/mail/mail-preferences.c
+++ b/mail/mail-preferences.c
@@ -244,7 +244,7 @@ mail_preferences_construct (MailPreferences *prefs)
prefs->citation_color = GNOME_COLOR_PICKER (glade_xml_get_widget (gui, "colorpickerHighlightCitations"));
buf = gconf_client_get_string (prefs->gconf, "/apps/evolution/mail/display/citation_colour", NULL);
gdk_color_parse (buf ? buf : "#737373", &colour);
- rgb = ((colour.red & 0xff00) << 8) | (colour.green & 0xff00) | ((colour.blue & 0xff) >> 8);
+ rgb = ((colour.red & 0xff00) << 8) | (colour.green & 0xff00) | ((colour.blue & 0xff00) >> 8);
colorpicker_set_color (prefs->citation_color, rgb);
g_signal_connect (prefs->citation_color, "color-set", G_CALLBACK (color_set), prefs);
g_free (buf);