[Goodies-commits] r6705 - in xfmpc/trunk: . src

Mike Massonnet mmassonnet at xfce.org
Mon Feb 16 21:33:34 CET 2009


Author: mmassonnet
Date: 2009-02-16 20:33:34 +0000 (Mon, 16 Feb 2009)
New Revision: 6705

Modified:
   xfmpc/trunk/ChangeLog
   xfmpc/trunk/src/mpdclient.c
Log:
Fix song changes

* src/mpdclient.c(cb_status_changed):
  - The condition fixed in the previous commit was incorrect


Modified: xfmpc/trunk/ChangeLog
===================================================================
--- xfmpc/trunk/ChangeLog	2009-02-16 15:50:47 UTC (rev 6704)
+++ xfmpc/trunk/ChangeLog	2009-02-16 20:33:34 UTC (rev 6705)
@@ -1,5 +1,11 @@
 2009-02-16	Mike Massonnet <mmassonnet at gmail.com>
 
+Fix song changes
+	* src/mpdclient.c(cb_status_changed):
+	  - The condition fixed in the previous commit was incorrect
+
+2009-02-16	Mike Massonnet <mmassonnet at gmail.com>
+
 Features for the database browser and a statusbar contributed by Vincent Legout
 	* src/mpdclient.c, src/mpdclient.h:
 	  - New functions xfmpc_mpdclient_playlist_get_length() and get_total_time()

Modified: xfmpc/trunk/src/mpdclient.c
===================================================================
--- xfmpc/trunk/src/mpdclient.c	2009-02-16 15:50:47 UTC (rev 6704)
+++ xfmpc/trunk/src/mpdclient.c	2009-02-16 20:33:34 UTC (rev 6705)
@@ -630,7 +630,7 @@
   if (what & MPD_CST_PLAYLIST)
     g_signal_emit (mpdclient, signals[SIG_PLAYLIST_CHANGED], 0);
 
-  if (what & MPD_CST_SONGID && !(what & (MPD_CST_DATABASE|MPD_CST_PLAYLIST)))
+  if (what & MPD_CST_SONGID && !(what & MPD_CST_DATABASE) && !(what & MPD_CST_PLAYLIST))
     g_signal_emit (mpdclient, signals[SIG_SONG_CHANGED], 0);
 
   if (what & MPD_CST_STATE)




More information about the Goodies-commits mailing list