[balsa/gtk3] Use better context for header widget colors
- From: Peter Bloomfield <PeterB src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/gtk3] Use better context for header widget colors
- Date: Thu, 9 Aug 2012 22:01:12 +0000 (UTC)
commit 1b2b5146bb49e33bcbf71704853205a0afadb0a3
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Thu Aug 9 18:00:30 2012 -0400
Use better context for header widget colors
* src/balsa-mime-widget-message.c (bm_header_widget_realized):
use BalsaMessage::scroll as the context for header widget
colors.
ChangeLog | 6 ++++++
src/balsa-mime-widget-message.c | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 8d12e64..48ae31a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-08-09 Peter Bloomfield
+
+ * src/balsa-mime-widget-message.c (bm_header_widget_realized):
+ use BalsaMessage::scroll as the context for header widget
+ colors.
+
2012-07-22 Peter Bloomfield
* src/store-address.c (store_address_book_frame): reduce scope
diff --git a/src/balsa-mime-widget-message.c b/src/balsa-mime-widget-message.c
index f05353d..e838133 100644
--- a/src/balsa-mime-widget-message.c
+++ b/src/balsa-mime-widget-message.c
@@ -406,7 +406,7 @@ bm_header_widget_realized(GtkWidget * widget, BalsaMessage * bm)
GdkRGBA rgba;
GtkWidget *tl_buttons;
- context = gtk_widget_get_style_context(GTK_WIDGET(bm));
+ context = gtk_widget_get_style_context(bm->scroll);
tl_buttons = g_object_get_data(G_OBJECT(widget), "tl-buttons");
gtk_style_context_get_background_color(context, GTK_STATE_FLAG_NORMAL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]