[Xfce4-commits] <parole:bluesabre/gtk3> Do not show playlist on disc

Sean Davis noreply at xfce.org
Sun Sep 1 19:16:02 CEST 2013


Updating branch refs/heads/bluesabre/gtk3
         to ca59dd938940f83287b82bbb9bdbf3166fd89b60 (commit)
       from a143f82569fdb23d1497c17ee1bd1d8ed8f87f06 (commit)

commit ca59dd938940f83287b82bbb9bdbf3166fd89b60
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Sun Sep 1 13:14:19 2013 -0400

    Do not show playlist on disc

 src/parole-medialist.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/parole-medialist.c b/src/parole-medialist.c
index 667dc85..b787e2c 100644
--- a/src/parole-medialist.c
+++ b/src/parole-medialist.c
@@ -328,7 +328,7 @@ parole_media_list_files_open (ParoleMediaList *list, GSList *files, gboolean dis
     len = g_slist_length (files);
     TRACE ("Adding %i files", len);
     
-    if ( len > 1 )
+    if ( len > 1 && !disc )
         g_signal_emit (G_OBJECT (list), signals [SHOW_PLAYLIST], 0, TRUE);
     
     if ( len != 0 )


More information about the Xfce4-commits mailing list