summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-03-15 20:02:01 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-03-15 20:02:01 +0100
commit3171cc56c6323ab7d9770f487c1084825a60e132 (patch)
tree5bf08fd4be9590a28804481631d65f05f2b82c6f
parentab875885195c5adae7eace82611659c1ef026d0c (diff)
take header drawing style from stopbtn instead of extra button
-rw-r--r--plugins/gtkui/gtkui.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/gtkui/gtkui.c b/plugins/gtkui/gtkui.c
index a62b7661..07316648 100644
--- a/plugins/gtkui/gtkui.c
+++ b/plugins/gtkui/gtkui.c
@@ -76,9 +76,7 @@ gtkpl_init (void) {
gtk_box_pack_start (GTK_BOX (vbox1), theme_treeview, FALSE, FALSE, 0);
gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (theme_treeview), TRUE);
- theme_button = gtk_button_new ();
- gtk_widget_show (theme_button);
- gtk_box_pack_start (GTK_BOX (vbox1), theme_button, FALSE, FALSE, 0);
+ theme_button = lookup_widget (mainwin, "stopbtn");
}
void