~darkxst/nautilus/3.14.1

« back to all changes in this revision

Viewing changes to debian/patches/git_name_column.patch

  • Committer: Sebastien Bacher
  • Date: 2014-10-20 13:05:08 UTC
  • Revision ID: seb128@ubuntu.com-20141020130508-uj16b3fxyi8fwqpt
* debian/patches/git_name_column.patch:
  - "nautilus-list-view: Avoid unreadable names" (lp: #1243806)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
From 17061d58d126077a26dd44595c321ee134f5747c Mon Sep 17 00:00:00 2001
 
2
From: Carlos Soriano <carlos.soriano89@gmail.com>
 
3
Date: Fri, 22 Aug 2014 19:18:30 +0200
 
4
Subject: nautilus-list-view: Avoid unreadable names
 
5
 
 
6
Currently if the view is resized, the column name is resized as well
 
7
given that use ellipsization allowing the column to become unreadable.
 
8
To avoid that, use width-chars property to set a desired width, but at
 
9
the same time allowing the user to resize without limits the name column
 
10
if desired.
 
11
 
 
12
https://bugzilla.gnome.org/show_bug.cgi?id=732004
 
13
 
 
14
diff --git a/src/nautilus-list-view.c b/src/nautilus-list-view.c
 
15
index 8711af6..b361734 100644
 
16
--- a/src/nautilus-list-view.c
 
17
+++ b/src/nautilus-list-view.c
 
18
@@ -2066,6 +2066,7 @@ create_and_set_up_tree_view (NautilusListView *view)
 
19
                        g_object_set (cell,
 
20
                                      "ellipsize", PANGO_ELLIPSIZE_END,
 
21
                                      "single-paragraph-mode", TRUE,
 
22
+                                     "width-chars", 30,
 
23
                                      "xpad", 5,
 
24
                                      NULL);
 
25
 
 
26
-- 
 
27
cgit v0.10.1
 
28
 
 
29