Merge pull request #12 from itzexor/close-confirmation-document-list

xed-close-confirmation-dialog: fix scrolledwindow minimum height
This commit is contained in:
Clement Lefebvre 2016-03-03 15:21:03 +00:00
commit 74a6aeea64
1 changed files with 2 additions and 0 deletions

View File

@ -704,6 +704,7 @@ build_multiple_docs_dialog (XedCloseConfirmationDialog *dlg)
GTK_POLICY_AUTOMATIC); GTK_POLICY_AUTOMATIC);
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow), gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow),
GTK_SHADOW_IN); GTK_SHADOW_IN);
gtk_scrolled_window_set_min_content_height (GTK_SCROLLED_WINDOW (scrolledwindow), 60);
treeview = create_treeview (priv); treeview = create_treeview (priv);
gtk_container_add (GTK_CONTAINER (scrolledwindow), treeview); gtk_container_add (GTK_CONTAINER (scrolledwindow), treeview);
@ -752,3 +753,4 @@ xed_close_confirmation_dialog_get_unsaved_documents (XedCloseConfirmationDialog
return dlg->priv->unsaved_documents; return dlg->priv->unsaved_documents;
} }