diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2014-10-06 18:17:50 +0200 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2014-10-06 18:20:57 +0200 |
commit | ac8394203a80e882f3c282ef6879c69abe08e26c (patch) | |
tree | 44f1dab9941c2ee8ac0d811ac3d3c6b5cedc3714 | |
parent | 434f894cf191d30a8b4f9a1d59601e1405ae2b69 (diff) | |
download | nautilus-ac8394203a80e882f3c282ef6879c69abe08e26c.tar.gz |
properties-window: set max-width for value labels
Not setting it can lead to very wide windows, because gtk doesn't
enforce a maximum window size anymore.
https://bugzilla.gnome.org/show_bug.cgi?id=732117
-rw-r--r-- | src/nautilus-properties-window.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nautilus-properties-window.c b/src/nautilus-properties-window.c index 81bd3511a..efc146686 100644 --- a/src/nautilus-properties-window.c +++ b/src/nautilus-properties-window.c @@ -1288,6 +1288,7 @@ attach_label (GtkGrid *grid, if (ellipsize_text) { gtk_widget_set_hexpand (label_field, TRUE); + gtk_label_set_max_width_chars (GTK_LABEL (label_field), 24); } if (sibling != NULL) { |