Automatically show color scheme dialog scrollbars, set shadow type

This commit is contained in:
Matthew Brush 2012-03-15 15:48:52 +00:00 committed by Nick Treleaven
parent d54504355e
commit 4e42814ead

View File

@ -1339,6 +1339,9 @@ static void show_color_scheme_dialog(void)
GEANY_DEFAULT_DIALOG_HEIGHT * 7/4, GEANY_DEFAULT_DIALOG_HEIGHT);
swin = gtk_scrolled_window_new(NULL, NULL);
gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(swin), GTK_SHADOW_ETCHED_IN);
gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(swin),
GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
gtk_container_add(GTK_CONTAINER(swin), tree);
gtk_container_add(GTK_CONTAINER(vbox), swin);
g_signal_connect(dialog, "response", G_CALLBACK(gtk_widget_hide), NULL);