[Xfce4-commits] <parole:master> Fix notifications uri saving when mixing with videos and music.

Sean Davis noreply at xfce.org
Wed Mar 6 13:14:01 CET 2013


Updating branch refs/heads/master
         to 25e77636a95de1b9582efad012f8415b1a5ba141 (commit)
       from 07a1a82cc2b1fb3ce3ee092fc3f59ab548b101e4 (commit)

commit 25e77636a95de1b9582efad012f8415b1a5ba141
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Wed Mar 6 05:53:02 2013 -0500

    Fix notifications uri saving when mixing with videos and music.

 src/plugins/notify/notify-provider.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/plugins/notify/notify-provider.c b/src/plugins/notify/notify-provider.c
index 183849c..fb60ed5 100644
--- a/src/plugins/notify/notify-provider.c
+++ b/src/plugins/notify/notify-provider.c
@@ -98,14 +98,14 @@ notify_playing (NotifyProvider *notify, const ParoleStream *stream)
           "uri", &stream_uri,  
 		  NULL);
 		  
-    if ( has_video )
-    return;
-    
     if ( g_strcmp0(stream_uri, notify->last_played_uri) == 0 )
     return;
     
     notify->last_played_uri = g_strdup(stream_uri);
     g_free(stream_uri);
+		  
+    if ( has_video )
+    return;
 
     if ( !title )
     {


More information about the Xfce4-commits mailing list