aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-08-14 07:32:38 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-08-14 07:32:38 +0800
commit6445ee2089907d53a98848c36d108d2f6439f7f5 (patch)
tree676860230c163abcfed903b09b7ba0dd4527afad
parentd36c3b0e20290acc49e172ce7ed7a50d1b2ec2a8 (diff)
downloadgsoc2013-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
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/e-gray-bar.c14
2 files changed, 12 insertions, 7 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 39131cc795..f2ce50ec8c 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,10 +1,13 @@
+2001-08-13 Ettore Perazzoli <ettore@ximian.com>
+
+ * e-gray-bar.c (impl_style_set): Chain to the parent class.
+
2001-08-13 Anna Marie Dirks <anna@ximian.com>
* importer/intelligent.c : Changed the "Evolution has found the
following data sources" text in the import dialog to "Evolution
can import data from the following files" in an attempt to
increase user-friendliness.
-
2001-08-13 Ettore Perazzoli <ettore@ximian.com>
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);
}