changed delay after dbus to 5
authortanya <tanyshk@gmail.com>
Fri, 11 Jun 2010 09:56:10 +0000 (12:56 +0300)
committertanya <tanyshk@gmail.com>
Fri, 11 Jun 2010 09:56:10 +0000 (12:56 +0300)
applet/src/livewp-dbus.c

index 4ccddb7..bc470b0 100644 (file)
@@ -156,12 +156,12 @@ get_livewp_signal_cb(DBusConnection *conn, DBusMessage *msg, Animation_Wallpaper
     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 = time(NULL) + 10;
+        priv->scene->notification = time(NULL) + 5;
     }
     if (dbus_message_is_signal(msg, NOTIFY_SIGNAL_INTERFACE, CLOSENOTIFY_MEMBER)){
         //fprintf(stderr,"read notifications.db close notify\n");    
         //read_notification(priv->desktop_plugin);
-        priv->scene->notification = time(NULL) + 10;
+        priv->scene->notification = time(NULL) + 5;
     }
 
     return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;