fixed notification in dbus
authortanya <tanya@moshkanov.oblgaz>
Tue, 18 May 2010 17:46:16 +0000 (20:46 +0300)
committertanya <tanya@moshkanov.oblgaz>
Tue, 18 May 2010 17:46:16 +0000 (20:46 +0300)
applet/data/Makefile.am
applet/data/Makefile.in
applet/src/livewp-dbus.c

index 3ff0374..9efc8bb 100644 (file)
@@ -62,7 +62,7 @@ EXTRA_DIST = $(berlintheme_DATA) \
             $(dbus_service_DATA)
 
 
-livewpp.desktop: livewpp.desktop.in
+livewp.desktop: livewp.desktop.in
        sed "s/__VERSION__/$(VERSION)/g" $< >$@.tmp && \
        sed "s/__PACKAGE__/$(PACKAGE)/g" $@.tmp >$@ && \
        $(RM) *.tmp
index d5ee9cd..45d47ab 100644 (file)
@@ -523,7 +523,7 @@ uninstall-local:
        rm $(DESTDIR)$(icondir)/40x40/hildon/$$i.png; \
        $(DESTDIR)$(icondir)/scalable/hildon/$$i.png;
 
-livewpp.desktop: livewpp.desktop.in
+livewp.desktop: livewp.desktop.in
        sed "s/__VERSION__/$(VERSION)/g" $< >$@.tmp && \
        sed "s/__PACKAGE__/$(PACKAGE)/g" $@.tmp >$@ && \
        $(RM) *.tmp
index db54db8..9f92ef7 100644 (file)
@@ -121,7 +121,8 @@ get_livewp_signal_cb(DBusConnection *conn, DBusMessage *msg, Animation_Wallpaper
     }
     if (dbus_message_is_signal(msg, NOTIFY_SIGNAL_INTERFACE, NOTIFY_MEMBER) 
         || dbus_message_is_signal(msg, CLOSENOTIFY_SIGNAL_INTERFACE, CLOSENOTIFY_MEMBER) ){
-        fprintf(stderr,"read notifications.db\n");    
+        //fprintf(stderr,"read notifications.db\n");    
+        read_notification(priv->desktop_plugin);
     }
     return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
 }