diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-03-30 07:20:04 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-03-30 07:20:04 +0800 |
commit | 7d3c17948f450d8a85e4baa016e2e8dd8dc8c436 (patch) | |
tree | 31fe8f237bf885edf9df01a7a68c66d49d373330 | |
parent | 984f8343ca6c37446c5721a621e4ce31bc8f27d4 (diff) | |
download | gsoc2013-evolution-7d3c17948f450d8a85e4baa016e2e8dd8dc8c436.tar gsoc2013-evolution-7d3c17948f450d8a85e4baa016e2e8dd8dc8c436.tar.gz gsoc2013-evolution-7d3c17948f450d8a85e4baa016e2e8dd8dc8c436.tar.bz2 gsoc2013-evolution-7d3c17948f450d8a85e4baa016e2e8dd8dc8c436.tar.lz gsoc2013-evolution-7d3c17948f450d8a85e4baa016e2e8dd8dc8c436.tar.xz gsoc2013-evolution-7d3c17948f450d8a85e4baa016e2e8dd8dc8c436.tar.zst gsoc2013-evolution-7d3c17948f450d8a85e4baa016e2e8dd8dc8c436.zip |
Don't shift the r, g and b values here either.
2002-03-29 Jeffrey Stedfast <fejj@ximian.com>
* mail-preferences.c (colorpicker_get_color): Don't shift the r, g
and b values here either.
* mail-composer-prefs.c (colorpicker_get_color): Don't shift the
r, g, b values.
svn path=/trunk/; revision=16297
-rw-r--r-- | mail/ChangeLog | 12 | ||||
-rw-r--r-- | mail/mail-composer-prefs.c | 6 | ||||
-rw-r--r-- | mail/mail-preferences.c | 6 |
3 files changed, 18 insertions, 6 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index fad489ba9e..7b9834550c 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -5,6 +5,18 @@ 2002-03-29 Jeffrey Stedfast <fejj@ximian.com> + * mail-preferences.c (colorpicker_get_color): Don't shift the r, g + and b values here either. + + * mail-composer-prefs.c (colorpicker_get_color): Don't shift the + r, g, b values. + + * mail-preferences.c (mail_preferences_construct): Restore the + labels & colours options from the grave. + (mail_preferences_apply): Save these labels & colours options. + +2002-03-29 Jeffrey Stedfast <fejj@ximian.com> + * mail-composer-prefs.c (mail_composer_prefs_construct): Same here. diff --git a/mail/mail-composer-prefs.c b/mail/mail-composer-prefs.c index 6b1c703038..97ebced5e8 100644 --- a/mail/mail-composer-prefs.c +++ b/mail/mail-composer-prefs.c @@ -106,11 +106,11 @@ colorpicker_get_color (GnomeColorPicker *color) gnome_color_picker_get_i8 (color, &r, &g, &b, &a); - rgb = r >> 8; + rgb = r; rgb <<= 8; - rgb |= g >> 8; + rgb |= g; rgb <<= 8; - rgb |= b >> 8; + rgb |= b; return rgb; } diff --git a/mail/mail-preferences.c b/mail/mail-preferences.c index ac1e3fc4b4..e0bae7e439 100644 --- a/mail/mail-preferences.c +++ b/mail/mail-preferences.c @@ -113,11 +113,11 @@ colorpicker_get_color (GnomeColorPicker *color) gnome_color_picker_get_i8 (color, &r, &g, &b, &a); - rgb = r >> 8; + rgb = r; rgb <<= 8; - rgb |= g >> 8; + rgb |= g; rgb <<= 8; - rgb |= b >> 8; + rgb |= b; return rgb; } |