Fix folder color so it works with GTK themes
authorDarko Koruga <darko@users.sourceforge.net>
Tue, 20 Aug 2002 07:48:22 +0000 (07:48 +0000)
committerDarko Koruga <darko@users.sourceforge.net>
Tue, 20 Aug 2002 07:48:22 +0000 (07:48 +0000)
ChangeLog.claws
configure.in
src/folderview.c

index 6836956..9c2d029 100644 (file)
@@ -1,3 +1,9 @@
+2002-08-20 [darko]     0.8.1claws83
+
+       * src/folderview.c
+               copy the color style of folder view so it
+               works with GTK themes
+
 2002-08-20 [darko]     0.8.1claws82
 
        * src/folder.h
index 67cbdb1..fb56062 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=8
 MICRO_VERSION=1
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws82
+EXTRA_VERSION=claws83
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 83363b2..5630097 100644 (file)
@@ -1218,7 +1218,7 @@ static void folderview_update_node(FolderView *folderview, GtkCTreeNode *node)
                GdkColor gdk_color;
 
                gtkut_convert_int_to_gdk_color(item->prefs->color, &gdk_color);
-               color_style = gtk_style_copy(gtk_widget_get_default_style());
+               color_style = gtk_style_copy(gtk_widget_get_style(GTK_WIDGET(ctree)));
                color_style->fg[GTK_STATE_NORMAL] = gdk_color;
                style = color_style;
        } else {