aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-02-11 13:26:17 -0600
committerTed Gould <ted@gould.cx>2010-02-11 13:26:17 -0600
commit51ac202d7332f31df4912290bb180e2b4a7d413d (patch)
treeae33dd238f5ea07e3d655534db50cd4fb31d9ca2
parent70d29699c60a2507e457357a72eb484644f67dfd (diff)
downloadayatana-indicator-session-51ac202d7332f31df4912290bb180e2b4a7d413d.tar.gz
ayatana-indicator-session-51ac202d7332f31df4912290bb180e2b4a7d413d.tar.bz2
ayatana-indicator-session-51ac202d7332f31df4912290bb180e2b4a7d413d.zip
Building shared names for dbusmenu objects.
-rw-r--r--src/Makefile.am2
-rw-r--r--src/dbusmenu-shared.h4
2 files changed, 6 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 2c607f5..fdbf466 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -11,6 +11,7 @@ sessionlib_LTLIBRARIES = libsession.la
libsession_la_SOURCES = \
indicator-session.c \
dbus-shared-names.h \
+ dbusmenu-shared.h \
users-service-client.h
libsession_la_CFLAGS = $(APPLET_CFLAGS) -Wall -Werror
libsession_la_LIBADD = $(APPLET_LIBS)
@@ -42,6 +43,7 @@ indicator_session_service_SOURCES = \
lock-helper.c \
lock-helper.h \
session-service.c \
+ dbusmenu-shared.h \
gtk-dialog/gconf-helper.c \
users-service-dbus.h \
users-service-dbus.c \
diff --git a/src/dbusmenu-shared.h b/src/dbusmenu-shared.h
new file mode 100644
index 0000000..1ef179b
--- /dev/null
+++ b/src/dbusmenu-shared.h
@@ -0,0 +1,4 @@
+
+#define MENU_SWITCH_TYPE "x-canonical-switch-from"
+#define MENU_SWITCH_USER "x-canonical-switch-username"
+