aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-08-23 11:20:56 -0500
committerTed Gould <ted@gould.cx>2011-08-23 11:20:56 -0500
commite6492845f60367ddbaea1ffae359a8b5e2364075 (patch)
treef69798862c6a92fb5b0cc3b2ce7ce840ed81d275
parentefe088c4fc2fef11117012d088c96ddd418696bf (diff)
downloadayatana-indicator-session-e6492845f60367ddbaea1ffae359a8b5e2364075.tar.gz
ayatana-indicator-session-e6492845f60367ddbaea1ffae359a8b5e2364075.tar.bz2
ayatana-indicator-session-e6492845f60367ddbaea1ffae359a8b5e2364075.zip
Adding logout and restart desktop files as well
-rw-r--r--.bzrignore4
-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
-rw-r--r--po/POTFILES.in2
5 files changed, 24 insertions, 0 deletions
diff --git a/.bzrignore b/.bzrignore
index 7c24aab..1b8a265 100644
--- a/.bzrignore
+++ b/.bzrignore
@@ -205,3 +205,7 @@ data/com.canonical.indicator.session.gschema.valid
data/com.canonical.indicator.session.gschema.xml
indicator-session-shutdown.desktop
indicator-session-shutdown.desktop.in
+indicator-session-logout.desktop.in
+indicator-session-logout.desktop
+indicator-session-restart.desktop.in
+indicator-session-restart.desktop
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;
diff --git a/po/POTFILES.in b/po/POTFILES.in
index d19dc2e..7253dd6 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -2,6 +2,8 @@
data/com.canonical.indicator.session.gschema.xml.in
data/extra-sessions/classic-desktop.desktop.in.in
data/indicator-session-shutdown.desktop.in.in
+data/indicator-session-logout.desktop.in.in
+data/indicator-session-restart.desktop.in.in
src/settings-helper.c
src/lock-helper.c
src/gtk-logout-helper.c