From 613d5c3787be82942305374f05c3ee2bfc984751 Mon Sep 17 00:00:00 2001 From: Felix Riemann Date: Sat, 22 Apr 2017 15:24:43 +0200 Subject: EomCloseConfirmationDialog: Fix size request for the image list Change the size request of the encasing ScrolledWindow instead of the TreeView itself. Otherwise the list would hardly show one row. https://bugzilla.gnome.org/show_bug.cgi?id=679505 taken from: https://git.gnome.org/browse/eog/commit/?id=46fb713 --- src/eom-close-confirmation-dialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/eom-close-confirmation-dialog.c b/src/eom-close-confirmation-dialog.c index ba7b4ed..f2b9feb 100644 --- a/src/eom-close-confirmation-dialog.c +++ b/src/eom-close-confirmation-dialog.c @@ -520,7 +520,6 @@ create_treeview (EomCloseConfirmationDialogPrivate *priv) GtkTreeViewColumn *column; treeview = gtk_tree_view_new (); - gtk_widget_set_size_request (treeview, 260, 120); gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (treeview), FALSE); gtk_tree_view_set_enable_search (GTK_TREE_VIEW (treeview), FALSE); @@ -649,6 +648,7 @@ build_multiple_imgs_dialog (EomCloseConfirmationDialog *dlg) treeview = create_treeview (priv); gtk_container_add (GTK_CONTAINER (scrolledwindow), treeview); + gtk_widget_set_size_request (scrolledwindow, 260, 120); /* Secondary label */ secondary_label = gtk_label_new (_("If you don't save, " -- cgit v1.2.1