commit 382e9c364eeb1c8b1540bb9f187f655035010589
Author: phantomjinx <p.g.richard...@phantomjinx.co.uk>
Date:   Mon Dec 19 00:16:02 2011 +0000

    Playlists names not displaying correctly in smart playlist wizard
    
    * Seems that the playlist combo box lacks a renderer for the text.

 plugins/playlist_display/playlist_display_spl.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/plugins/playlist_display/playlist_display_spl.c 
b/plugins/playlist_display/playlist_display_spl.c
index 88f86e8..42cb6dc 100644
--- a/plugins/playlist_display/playlist_display_spl.c
+++ b/plugins/playlist_display/playlist_display_spl.c
@@ -967,6 +967,7 @@ static GtkWidget *spl_create_hbox(GtkWidget *spl_window, 
Itdb_SPLRule *splr) {
     GList *gl;
     GtkListStore *store;
     GtkTreeIter iter;
+    GtkCellRenderer *cell;
 
     g_return_val_if_fail (spl_window, NULL);
     g_return_val_if_fail (splr, NULL);
@@ -1066,6 +1067,11 @@ static GtkWidget *spl_create_hbox(GtkWidget *spl_window, 
Itdb_SPLRule *splr) {
             gl = gl->next;
         }
         g_object_unref(store);
+
+        cell = gtk_cell_renderer_text_new();
+        gtk_cell_layout_pack_start(GTK_CELL_LAYOUT (combobox), cell, TRUE);
+        gtk_cell_layout_set_attributes(GTK_CELL_LAYOUT (combobox), cell, 
"text", 0, NULL);
+
         g_object_set_data(G_OBJECT (combobox), "spl_rule", splr);
         g_object_set_data_full(G_OBJECT (combobox), "spl_pl_ids", pl_ids, 
(GDestroyNotify) spl_pl_ids_destroy);
         if (splr->fromvalue == ITDB_SPL_DATE_IDENTIFIER)

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
gtkpod-cvs2 mailing list
gtkpod-cvs2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to