[totem] main: Fixing setting the playlist header title



commit 7786834a1fb1261b331bc3983497360a4ce06d44
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Jun 20 11:32:33 2011 +0100

    main: Fixing setting the playlist header title

 src/totem-playlist.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/totem-playlist.c b/src/totem-playlist.c
index e52ab80..815006a 100644
--- a/src/totem-playlist.c
+++ b/src/totem-playlist.c
@@ -1261,6 +1261,7 @@ init_columns (GtkTreeView *treeview, TotemPlaylist *playlist)
 	/* Playing pix */
 	renderer = gtk_cell_renderer_pixbuf_new ();
 	column = gtk_tree_view_column_new ();
+	g_object_set (G_OBJECT (column), "title", _("Playlist"), NULL);
 	gtk_tree_view_column_pack_start (column, renderer, FALSE);
 	gtk_tree_view_column_set_cell_data_func (column, renderer,
 			(GtkTreeCellDataFunc) set_playing_icon, playlist, NULL);
@@ -1271,8 +1272,7 @@ init_columns (GtkTreeView *treeview, TotemPlaylist *playlist)
 	renderer = gtk_cell_renderer_text_new ();
 	gtk_tree_view_column_pack_start (column, renderer, TRUE);
 	gtk_tree_view_column_set_attributes (column, renderer,
-			"text", FILENAME_COL,
-			"title", _("Playlist"), NULL);
+			"text", FILENAME_COL, NULL);
 }
 
 static void



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