[nautilus] properties-window: ellipsize the Type field
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] properties-window: ellipsize the Type field
- Date: Mon, 12 Mar 2012 21:14:46 +0000 (UTC)
commit d9c23d83fdb5e1178f2c2f97a57b937cdab1b251
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Mar 12 17:13:19 2012 -0400
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
src/nautilus-properties-window.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/nautilus-properties-window.c b/src/nautilus-properties-window.c
index d6d6225..b4a8ada 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)) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]