aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}