1
From 0618af5a154cff26c7a04b303abcbeec2a8ca10d Mon Sep 17 00:00:00 2001
2
From: Lars Uebernickel <lars.uebernickel@canonical.com>
3
Date: Mon, 6 Oct 2014 13:07:51 +0200
4
Subject: [PATCH] properties-window: set max-width for value labels
6
Not setting it can lead to very wide windows, because gtk doesn't
7
enforce a maximum window size anymore.
9
https://bugzilla.gnome.org/show_bug.cgi?id=732117
11
src/nautilus-properties-window.c | 1 +
12
1 file changed, 1 insertion(+)
14
diff --git a/src/nautilus-properties-window.c b/src/nautilus-properties-window.c
15
index 3b15dd9..631c456 100644
16
--- a/src/nautilus-properties-window.c
17
+++ b/src/nautilus-properties-window.c
18
@@ -1276,6 +1276,7 @@ attach_label (GtkGrid *grid,
21
gtk_widget_set_hexpand (label_field, TRUE);
22
+ gtk_label_set_max_width_chars (GTK_LABEL (label_field), 24);
25
if (sibling != NULL) {