[nautilus] Ellipseze bookmarks editing window renderer (#319159)



commit 59799e3e26476382ddd45d311e22db164474bbb2
Author: Marcus Carlson <marcus mejlamej nu>
Date:   Mon Jul 5 19:35:53 2010 +0200

    Ellipseze bookmarks editing window renderer (#319159)

 src/nautilus-bookmarks-window.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-bookmarks-window.c b/src/nautilus-bookmarks-window.c
index 0202f34..e5dc845 100644
--- a/src/nautilus-bookmarks-window.c
+++ b/src/nautilus-bookmarks-window.c
@@ -296,6 +296,11 @@ create_bookmarks_window (NautilusBookmarkList *list, GObject *undo_manager_sourc
 					      NAUTILUS_ICON_SIZE_SMALLER);
 	
 	rend = gtk_cell_renderer_text_new ();
+	g_object_set (rend,
+		      "ellipsize", PANGO_ELLIPSIZE_END,
+		      "ellipsize-set", TRUE,
+		      NULL);
+
 	col = gtk_tree_view_column_new_with_attributes ("Icon", 
 							rend,
 							"text", 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]