aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-08-23 15:07:33 -0500
committerTed Gould <ted@gould.cx>2011-08-23 15:07:33 -0500
commit4151eaaab0a2f4d5ee8f7cdadb3fa5bf7187ff83 (patch)
tree719c658758ef8ea27f8bb060021b538bc85ae6fc
parent41f7c6c709a74f90cd12ee2b09bbc1648fc8607f (diff)
downloadayatana-indicator-session-4151eaaab0a2f4d5ee8f7cdadb3fa5bf7187ff83.tar.gz
ayatana-indicator-session-4151eaaab0a2f4d5ee8f7cdadb3fa5bf7187ff83.tar.bz2
ayatana-indicator-session-4151eaaab0a2f4d5ee8f7cdadb3fa5bf7187ff83.zip
Adding a lock screen desktop file as well
-rw-r--r--.bzrignore2
-rw-r--r--data/Makefile.am1
-rw-r--r--data/indicator-session-lock-screen.desktop.in.in9
-rw-r--r--po/POTFILES.in1
4 files changed, 13 insertions, 0 deletions
diff --git a/.bzrignore b/.bzrignore
index 1b8a265..1883f5c 100644
--- a/.bzrignore
+++ b/.bzrignore
@@ -209,3 +209,5 @@ indicator-session-logout.desktop.in
indicator-session-logout.desktop
indicator-session-restart.desktop.in
indicator-session-restart.desktop
+data/indicator-session-lock-screen.desktop.in
+data/indicator-session-lock-screen.desktop
diff --git a/data/Makefile.am b/data/Makefile.am
index 347f91f..8b4a99c 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -24,6 +24,7 @@ dist_convert_DATA = indicator-session.convert
sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
logout_helper_desktop_in_in_files = \
+ indicator-session-lock-screen.desktop.in.in \
indicator-session-logout.desktop.in.in \
indicator-session-restart.desktop.in.in \
indicator-session-shutdown.desktop.in.in
diff --git a/data/indicator-session-lock-screen.desktop.in.in b/data/indicator-session-lock-screen.desktop.in.in
new file mode 100644
index 0000000..e44cd9f
--- /dev/null
+++ b/data/indicator-session-lock-screen.desktop.in.in
@@ -0,0 +1,9 @@
+[Desktop Entry]
+_Name=Lock Screen
+TryExec=@bindir@/xdg-screensaver
+Exec=@bindir@/xdg-screensaver lock
+Icon=system-lock-screen
+Terminal=false
+Type=Application
+OnlyShowIn=Unity;
+Version=1.0
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 7253dd6..44a2269 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,6 +1,7 @@
[encoding: UTF-8]
data/com.canonical.indicator.session.gschema.xml.in
data/extra-sessions/classic-desktop.desktop.in.in
+data/indicator-session-lock-screen.desktop.in.in
data/indicator-session-shutdown.desktop.in.in
data/indicator-session-logout.desktop.in.in
data/indicator-session-restart.desktop.in.in