summaryrefslogtreecommitdiff
path: root/src/file-manager
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-09-30 14:44:43 +0200
committerWolfgang Ulbrich <[email protected]>2015-12-05 03:02:09 +0100
commitacd9202389781d863abf05e8e8feb65c7b380300 (patch)
tree604fb6cef3c0f573e3d26ca1f726ea4f7206cee7 /src/file-manager
parenta0c71663bbcf89db74eeee61cdf6eaf815af2323 (diff)
downloadcaja-acd9202389781d863abf05e8e8feb65c7b380300.tar.bz2
caja-acd9202389781d863abf05e8e8feb65c7b380300.tar.xz
GTK3 properties-window: set max-width for value labels
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-16&id=ac83942
Diffstat (limited to 'src/file-manager')
-rw-r--r--src/file-manager/fm-properties-window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/file-manager/fm-properties-window.c b/src/file-manager/fm-properties-window.c
index 4ebdeeeb..3c7cb45b 100644
--- a/src/file-manager/fm-properties-window.c
+++ b/src/file-manager/fm-properties-window.c
@@ -1449,6 +1449,7 @@ attach_label (GtkTable *table,
#if GTK_CHECK_VERSION (3, 0, 0)
if (ellipsize_text) {
gtk_widget_set_hexpand (label_field, TRUE);
+ gtk_label_set_max_width_chars (GTK_LABEL (label_field), 24);
}
if (sibling != NULL) {