changed dbus method
authorVlad <vlad@gas.by>
Thu, 20 May 2010 11:56:38 +0000 (14:56 +0300)
committerVlad <vlad@gas.by>
Thu, 20 May 2010 11:56:38 +0000 (14:56 +0300)
applet/src/livewp-dbus.c

index 98d8e3a..8c5871f 100644 (file)
@@ -150,7 +150,8 @@ get_livewp_signal_cb(DBusConnection *conn, DBusMessage *msg, Animation_Wallpaper
 #endif
         }
     }
-    if (dbus_message_is_signal(msg, NOTIFY_SIGNAL_INTERFACE, NOTIFY_MEMBER)){
+    fprintf(stderr, "Type %i\n", dbus_message_get_type (msg));
+    if (dbus_message_is_method_call(msg, NOTIFY_SIGNAL_INTERFACE, NOTIFY_MEMBER)){
         fprintf(stderr,"read notifications.db notify\n");    
         //read_notification(priv->desktop_plugin);
         priv->scene->notification = TRUE;