aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am2
-rw-r--r--data/indicator-session-logout.desktop.in.in8
-rw-r--r--data/indicator-session-restart.desktop.in.in8
3 files changed, 18 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index f2cfee8..347f91f 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -24,6 +24,8 @@ dist_convert_DATA = indicator-session.convert
sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
logout_helper_desktop_in_in_files = \
+ indicator-session-logout.desktop.in.in \
+ indicator-session-restart.desktop.in.in \
indicator-session-shutdown.desktop.in.in
logout_helperdir = $(datadir)/applications
diff --git a/data/indicator-session-logout.desktop.in.in b/data/indicator-session-logout.desktop.in.in
new file mode 100644
index 0000000..78548d1
--- /dev/null
+++ b/data/indicator-session-logout.desktop.in.in
@@ -0,0 +1,8 @@
+[Desktop Entry]
+_Name=Log Out
+Try-Exec=@libexecdir@/gtk-logout-helper
+Exec=@libexecdir@/gtk-logout-helper --logout
+Icon=system-log-out
+Terminal=false
+Type=Application
+OnlyShowIn=Unity;
diff --git a/data/indicator-session-restart.desktop.in.in b/data/indicator-session-restart.desktop.in.in
new file mode 100644
index 0000000..68a2f7f
--- /dev/null
+++ b/data/indicator-session-restart.desktop.in.in
@@ -0,0 +1,8 @@
+[Desktop Entry]
+_Name=Restart
+Try-Exec=@libexecdir@/gtk-logout-helper
+Exec=@libexecdir@/gtk-logout-helper --restart
+Icon=system-restart
+Terminal=false
+Type=Application
+OnlyShowIn=Unity;