next step for dbus notifications
[livewp] / applet / src / livewp-dbus.c
index ea4c06f..0520674 100644 (file)
@@ -108,6 +108,7 @@ get_livewp_signal_cb(DBusConnection *conn, DBusMessage *msg, Animation_Wallpaper
     START_FUNCTION;
 #endif
 
+fprintf (stderr, "PATH11111111111111111111 %s %s %s\n",   dbus_message_get_path(msg),   dbus_message_get_interface (msg), dbus_message_get_member (msg));
     if (dbus_message_is_signal(msg, LIVEWP_SIGNAL_INTERFACE, LIVEWP_RELOAD_CONFIG)){
         if(read_config(priv)){
                 fprintf(stderr, "\nCan not read config file.\n");
@@ -118,7 +119,9 @@ get_livewp_signal_cb(DBusConnection *conn, DBusMessage *msg, Animation_Wallpaper
 #endif
         }
     }
+    if (dbus_message_is_signal(msg, CALLNOTIF_SIGNAL_INTERFACE, CALLNOTIF_MEMBER)){
+        fprintf(stderr," <aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\n");    
+    }
     return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
 }
-/*******************************************************************************/