[totem] main: Add header to playlist



commit 6ffe7cbac2074c825d9912e21ee4ab032c83916a
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Jun 17 14:12:30 2011 +0100

    main: Add header to playlist
    
    Now that the sidebar drop-down is gone.

 data/playlist.ui     |    2 +-
 src/totem-playlist.c |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/data/playlist.ui b/data/playlist.ui
index fe52e7a..6089b50 100644
--- a/data/playlist.ui
+++ b/data/playlist.ui
@@ -74,7 +74,7 @@
             <property name="visible">True</property>
             <property name="can_focus">True</property>
             <property name="model">playlist_list_store</property>
-            <property name="headers_visible">False</property>
+            <property name="headers_visible">True</property>
             <property name="rules_hint">True</property>
             <child internal-child="selection">
               <object class="GtkTreeSelection" id="treeview-selection1"/>
diff --git a/src/totem-playlist.c b/src/totem-playlist.c
index 539ea57..b29453b 100644
--- a/src/totem-playlist.c
+++ b/src/totem-playlist.c
@@ -1271,7 +1271,8 @@ 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, NULL);
+			"text", FILENAME_COL,
+			"title", _("Playlist"), NULL);
 }
 
 static void



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