summaryrefslogtreecommitdiff
path: root/theme-viewer
diff options
context:
space:
mode:
Diffstat (limited to 'theme-viewer')
-rw-r--r--theme-viewer/theme-viewer-window.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/theme-viewer/theme-viewer-window.c b/theme-viewer/theme-viewer-window.c
index c37ed77e..15a1f48f 100644
--- a/theme-viewer/theme-viewer-window.c
+++ b/theme-viewer/theme-viewer-window.c
@@ -567,7 +567,11 @@ theme_combo_box_changed_cb (GtkComboBox *combo_box,
update_button_layout (window);
gtk_widget_hide (window->choose_theme);
- gtk_widget_show (window->theme_box);
+
+ if (gtk_widget_is_visible (window->theme_box))
+ gtk_widget_queue_draw (window->theme_box);
+ else
+ gtk_widget_show (window->theme_box);
gtk_widget_set_sensitive (window->sidebar, TRUE);