Automatically show color scheme dialog scrollbars, set shadow type
This commit is contained in:
parent
d54504355e
commit
4e42814ead
@ -1339,6 +1339,9 @@ static void show_color_scheme_dialog(void)
|
|||||||
GEANY_DEFAULT_DIALOG_HEIGHT * 7/4, GEANY_DEFAULT_DIALOG_HEIGHT);
|
GEANY_DEFAULT_DIALOG_HEIGHT * 7/4, GEANY_DEFAULT_DIALOG_HEIGHT);
|
||||||
|
|
||||||
swin = gtk_scrolled_window_new(NULL, NULL);
|
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(swin), tree);
|
||||||
gtk_container_add(GTK_CONTAINER(vbox), swin);
|
gtk_container_add(GTK_CONTAINER(vbox), swin);
|
||||||
g_signal_connect(dialog, "response", G_CALLBACK(gtk_widget_hide), NULL);
|
g_signal_connect(dialog, "response", G_CALLBACK(gtk_widget_hide), NULL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user