changeset 4735:cc107c7ec07f

set ellipsize to PANGO_ELLIPSIZE_END in title column
author Tomasz Mon <desowin@gmail.com>
date Thu, 17 Jul 2008 20:17:32 +0200
parents 0b96e6982c64
children e14398ef0868
files src/audacious/ui_playlist_widget.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/ui_playlist_widget.c	Thu Jul 17 17:35:46 2008 +0200
+++ b/src/audacious/ui_playlist_widget.c	Thu Jul 17 20:17:32 2008 +0200
@@ -264,7 +264,8 @@
     renderer = gtk_cell_renderer_text_new();
     gtk_tree_view_column_pack_start(column, renderer, TRUE);
     gtk_tree_view_column_set_attributes(column, renderer, "text", COLUMN_TEXT, "weight", COLUMN_WEIGHT, NULL);
-    g_object_set(G_OBJECT(renderer), "ypad", 0, NULL);
+    g_object_set(G_OBJECT(renderer), "ypad", 0, "ellipsize-set", TRUE,
+                 "ellipsize", PANGO_ELLIPSIZE_END, NULL);
 
     renderer = gtk_cell_renderer_text_new();
     gtk_tree_view_column_pack_start(column, renderer, FALSE);