diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-12-14 06:05:16 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-12-14 06:05:16 +0800 |
commit | 33f5b6f67d90bffdb7a83a07d619face63e9983c (patch) | |
tree | c1b209e283b24dcf173b39bc46f8ebe4c887886c /mail/mail-preferences.c | |
parent | d5749529a83e95689c94afed125159ddb57558c2 (diff) | |
download | gsoc2013-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.c | 2 |
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); |