summaryrefslogtreecommitdiff
path: root/src/nautilus-properties-window.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2012-03-12 17:13:19 -0400
committerCosimo Cecchi <cosimoc@gnome.org>2012-03-12 17:14:04 -0400
commitd9c23d83fdb5e1178f2c2f97a57b937cdab1b251 (patch)
tree3b91d6d4d9bb97d0457fa405bc629da86a85dbe6 /src/nautilus-properties-window.c
parent73588247787b408ec43dba4156cadac97fe2d6d6 (diff)
downloadnautilus-d9c23d83fdb5e1178f2c2f97a57b937cdab1b251.tar.gz
properties-window: ellipsize the Type field
Or the properties window won't shrink when the file type string is long (e.g. with Archive types). https://bugzilla.gnome.org/show_bug.cgi?id=671809
Diffstat (limited to 'src/nautilus-properties-window.c')
-rw-r--r--src/nautilus-properties-window.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nautilus-properties-window.c b/src/nautilus-properties-window.c
index d6d622501..b4a8ada9a 100644
--- a/src/nautilus-properties-window.c
+++ b/src/nautilus-properties-window.c
@@ -3075,11 +3075,11 @@ create_basic_page (NautilusPropertiesWindow *window)
}
if (should_show_file_type (window)) {
- append_title_value_pair (window,
- grid, _("Type:"),
- "type",
- INCONSISTENT_STATE_STRING,
- FALSE);
+ append_title_and_ellipsizing_value (window, grid,
+ _("Type:"),
+ "type",
+ INCONSISTENT_STATE_STRING,
+ FALSE);
}
if (should_show_link_target (window)) {