summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFelix Riemann <[email protected]>2017-04-22 15:24:43 +0200
committerraveit65 <[email protected]>2017-04-23 12:17:39 +0200
commit613d5c3787be82942305374f05c3ee2bfc984751 (patch)
tree0670e6c93d3f2eaad5120364defdb5f4cb81604c /src
parent6e3f0ced7bf2f5d100b22cc628ec2a6c6b796a1c (diff)
downloadeom-613d5c3787be82942305374f05c3ee2bfc984751.tar.bz2
eom-613d5c3787be82942305374f05c3ee2bfc984751.tar.xz
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
Diffstat (limited to 'src')
-rw-r--r--src/eom-close-confirmation-dialog.c2
1 files changed, 1 insertions, 1 deletions
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, "