aboutsummaryrefslogtreecommitdiff
path: root/src/dbus-shared.h
diff options
context:
space:
mode:
authorJason Conti <jason.conti@gmail.com>2011-05-17 16:15:41 -0400
committerJason Conti <jason.conti@gmail.com>2011-05-17 16:15:41 -0400
commit425bde705a072effe6232cb3fa4fecdcb8849639 (patch)
tree453adb3ed0c348dba733b419ea8ec1131e1c6850 /src/dbus-shared.h
parentc802236c56882bbfbb773801a7351a9e6cc11ba9 (diff)
downloadayatana-indicator-notifications-425bde705a072effe6232cb3fa4fecdcb8849639.tar.gz
ayatana-indicator-notifications-425bde705a072effe6232cb3fa4fecdcb8849639.tar.bz2
ayatana-indicator-notifications-425bde705a072effe6232cb3fa4fecdcb8849639.zip
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).
Diffstat (limited to 'src/dbus-shared.h')
-rw-r--r--src/dbus-shared.h11
1 files changed, 6 insertions, 5 deletions
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 <http://www.gnu.org/licenses/>.
#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"