[gnumeric] Force auto expression background to white. Fixes #641198.
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Force auto expression background to white. Fixes #641198.
- Date: Mon, 28 Nov 2011 22:35:40 +0000 (UTC)
commit e4aa88b23a7805ed94d1cef8437819a88ccbf8ef
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date: Mon Nov 28 15:35:04 2011 -0700
Force auto expression background to white. Fixes #641198.
2011-11-28 Andreas J. Guelzow <aguelzow pyrshep ca>
* src/wbc-gtk.c (wbc_gtk_create_status_area): force auto expression
background to white. Fixes #641198.
ChangeLog | 5 +++++
src/wbc-gtk.c | 4 ++++
2 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index d040d1d..819dac5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2011-11-28 Andreas J. Guelzow <aguelzow pyrshep ca>
+ * src/wbc-gtk.c (wbc_gtk_create_status_area): force auto expression
+ background to white. Fixes #641198.
+
+2011-11-28 Andreas J. Guelzow <aguelzow pyrshep ca>
+
* src/item-edit.c (item_edit_draw): use the attr list attached as
data
diff --git a/src/wbc-gtk.c b/src/wbc-gtk.c
index 207cf48..f3734f9 100644
--- a/src/wbc-gtk.c
+++ b/src/wbc-gtk.c
@@ -4788,6 +4788,7 @@ static void
wbc_gtk_create_status_area (WBCGtk *wbcg)
{
GtkWidget *tmp, *frame;
+ GdkRGBA const white = {1.,1.,1.,1.};
wbcg->progress_bar = gtk_progress_bar_new ();
gtk_progress_bar_set_text (GTK_PROGRESS_BAR (wbcg->progress_bar), " ");
@@ -4812,6 +4813,9 @@ wbc_gtk_create_status_area (WBCGtk *wbcg)
frame = gtk_frame_new (NULL);
gtk_frame_set_shadow_type (GTK_FRAME (frame), GTK_SHADOW_IN);
gtk_container_add (GTK_CONTAINER (frame), tmp);
+ gtk_widget_override_background_color (GTK_WIDGET (tmp),
+ GTK_STATE_FLAG_NORMAL,
+ &white);
wbcg->status_text = tmp = gtk_statusbar_new ();
gtk_widget_set_size_request (tmp, go_pango_measure_string (
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]