r18896 - gnucash/trunk/src/import-export - Bug #364358 - Import dialog unreadable with dark colored gtk theme (with solution)
Geert Janssens
gjanssens at code.gnucash.org
Fri Mar 12 16:38:43 EST 2010
Author: gjanssens
Date: 2010-03-12 16:38:43 -0500 (Fri, 12 Mar 2010)
New Revision: 18896
Trac: http://svn.gnucash.org/trac/changeset/18896
Modified:
gnucash/trunk/src/import-export/import-main-matcher.c
Log:
Bug #364358 - Import dialog unreadable with dark colored gtk theme (with solution)
Modified: gnucash/trunk/src/import-export/import-main-matcher.c
===================================================================
--- gnucash/trunk/src/import-export/import-main-matcher.c 2010-03-12 10:20:50 UTC (rev 18895)
+++ gnucash/trunk/src/import-export/import-main-matcher.c 2010-03-12 21:38:43 UTC (rev 18896)
@@ -382,6 +382,10 @@
GtkTreeViewColumn *column;
renderer = gtk_cell_renderer_text_new();
+ g_object_set(G_OBJECT(renderer),
+ "foreground", "black",
+ "foreground-set", TRUE,
+ NULL);
column = gtk_tree_view_column_new_with_attributes
(title, renderer,
"text", col_num,
@@ -462,6 +466,10 @@
"cell-background", DOWNLOADED_COL_COLOR,
NULL);
renderer = gtk_cell_renderer_text_new();
+ g_object_set(G_OBJECT(renderer),
+ "foreground", "black",
+ "foreground-set", TRUE,
+ NULL);
gtk_tree_view_column_pack_start(column, renderer, TRUE);
gtk_tree_view_column_set_attributes(column, renderer,
"text", DOWNLOADED_COL_ACTION_INFO,
More information about the gnucash-changes
mailing list