From: tanya Date: Tue, 18 May 2010 17:46:16 +0000 (+0300) Subject: fixed notification in dbus X-Git-Url: http://git.maemo.org/git/?a=commitdiff_plain;h=7f7f3b09bc4fd2a10c78adf162a006ea025fb6ff;p=livewp fixed notification in dbus --- diff --git a/applet/data/Makefile.am b/applet/data/Makefile.am index 3ff0374..9efc8bb 100644 --- a/applet/data/Makefile.am +++ b/applet/data/Makefile.am @@ -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 diff --git a/applet/data/Makefile.in b/applet/data/Makefile.in index d5ee9cd..45d47ab 100644 --- a/applet/data/Makefile.in +++ b/applet/data/Makefile.in @@ -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 diff --git a/applet/src/livewp-dbus.c b/applet/src/livewp-dbus.c index db54db8..9f92ef7 100644 --- a/applet/src/livewp-dbus.c +++ b/applet/src/livewp-dbus.c @@ -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; }