aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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