From 425bde705a072effe6232cb3fa4fecdcb8849639 Mon Sep 17 00:00:00 2001 From: Jason Conti Date: Tue, 17 May 2011 16:15:41 -0400 Subject: Adding a timestamp to the messages. Currently sends a timestamp string across dbus, but ideally it will send an integer, and the indicator can decide how to display it (time ago in words, custom time format, etc). --- src/dbus-shared.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/dbus-shared.h') diff --git a/src/dbus-shared.h b/src/dbus-shared.h index 76d30ab..da93e73 100644 --- a/src/dbus-shared.h +++ b/src/dbus-shared.h @@ -24,8 +24,9 @@ with this program. If not, see . #define MENU_OBJ "/com/launchpad/RecentNotifications/indicator/menu" -#define NOTIFICATION_MENUITEM_TYPE "notification-menuitem" -#define NOTIFICATION_MENUITEM_PROP_APP_NAME "notification-menuitem-prop-app-name" -#define NOTIFICATION_MENUITEM_PROP_APP_ICON "notification-menuitem-prop-app-icon" -#define NOTIFICATION_MENUITEM_PROP_SUMMARY "notification-menuitem-prop-summary" -#define NOTIFICATION_MENUITEM_PROP_BODY "notification-menuitem-prop-body" +#define NOTIFICATION_MENUITEM_TYPE "notification-menuitem" +#define NOTIFICATION_MENUITEM_PROP_APP_NAME "notification-menuitem-prop-app-name" +#define NOTIFICATION_MENUITEM_PROP_APP_ICON "notification-menuitem-prop-app-icon" +#define NOTIFICATION_MENUITEM_PROP_SUMMARY "notification-menuitem-prop-summary" +#define NOTIFICATION_MENUITEM_PROP_BODY "notification-menuitem-prop-body" +#define NOTIFICATION_MENUITEM_PROP_TIMESTAMP_STRING "notification-menuitem-prop-timestamp-string" -- cgit v1.2.3