diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-08-14 07:32:38 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-08-14 07:32:38 +0800 |
commit | 6445ee2089907d53a98848c36d108d2f6439f7f5 (patch) | |
tree | 676860230c163abcfed903b09b7ba0dd4527afad /shell/e-gray-bar.c | |
parent | d36c3b0e20290acc49e172ce7ed7a50d1b2ec2a8 (diff) | |
download | gsoc2013-evolution-6445ee2089907d53a98848c36d108d2f6439f7f5.tar gsoc2013-evolution-6445ee2089907d53a98848c36d108d2f6439f7f5.tar.gz gsoc2013-evolution-6445ee2089907d53a98848c36d108d2f6439f7f5.tar.bz2 gsoc2013-evolution-6445ee2089907d53a98848c36d108d2f6439f7f5.tar.lz gsoc2013-evolution-6445ee2089907d53a98848c36d108d2f6439f7f5.tar.xz gsoc2013-evolution-6445ee2089907d53a98848c36d108d2f6439f7f5.tar.zst gsoc2013-evolution-6445ee2089907d53a98848c36d108d2f6439f7f5.zip |
Chain to the parent class.
* e-gray-bar.c (impl_style_set): Chain to the parent class.
svn path=/trunk/; revision=11977
Diffstat (limited to 'shell/e-gray-bar.c')
-rw-r--r-- | shell/e-gray-bar.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/shell/e-gray-bar.c b/shell/e-gray-bar.c index 1058bf5740..f25fa67109 100644 --- a/shell/e-gray-bar.c +++ b/shell/e-gray-bar.c @@ -50,12 +50,12 @@ endarken_style (GtkWidget *widget) new_rc_style = gtk_rc_style_new (); for (i = 0; i < 5; i++) { - new_rc_style->bg[i].red = style->bg[i].red * .8; - new_rc_style->bg[i].green = style->bg[i].green * .8; - new_rc_style->bg[i].blue = style->bg[i].blue * .8; - new_rc_style->base[i].red = style->base[i].red * .8; - new_rc_style->base[i].green = style->base[i].green * .8; - new_rc_style->base[i].blue = style->base[i].blue * .8; + new_rc_style->bg[i].red = 0x8000; + new_rc_style->bg[i].green = 0x8000; + new_rc_style->bg[i].blue = 0x8000; + new_rc_style->base[i].red = 0x8000; + new_rc_style->base[i].green = 0x8000; + new_rc_style->base[i].blue = 0x8000; new_rc_style->fg[i].red = 0xffff; new_rc_style->fg[i].green = 0xffff; new_rc_style->fg[i].blue = 0xffff; @@ -86,6 +86,8 @@ impl_style_set (GtkWidget *widget, endarken_style (widget); in_style_set --; + + (* GTK_WIDGET_CLASS (parent_class)->style_set) (widget, previous_style); } |