From 84999b2e50c9bfe86a1d6b7a56df3ac2299fd4a0 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Tue, 28 Feb 2012 22:02:52 +0100 Subject: [PATCH] Add a desktop file for gcr-prompter * So that it shows up in the shell correctly https://bugzilla.gnome.org/show_bug.cgi?id=668535 --- .gitignore | 3 +++ configure.ac | 1 + gcr/Makefile.am | 2 +- gcr/gcr-prompter.desktop.in.in | 8 ++++++++ 4 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 gcr/gcr-prompter.desktop.in.in diff --git a/.gitignore b/.gitignore index eeffca7..d71b7e6 100644 --- a/.gitignore +++ b/.gitignore @@ -89,8 +89,11 @@ stamp-* /gcr/gcr-oids.* /gcr/gcr-marshal.* /gcr/gcr-prompter +/gcr/gcr-prompter.desktop +/gcr/gcr-prompter.desktop.in /gcr/gcr-viewer /gcr/gcr-viewer.desktop +/gcr/gcr-viewer.desktop.in /po/Makefile.in.in /po/*.sed diff --git a/configure.ac b/configure.ac index f704e06..0b09ff3 100644 --- a/configure.ac +++ b/configure.ac @@ -383,6 +383,7 @@ gck/Makefile gck/tests/Makefile gcr/gcr.pc gcr/gcr-base.pc +gcr/gcr-prompter.desktop.in gcr/gcr-viewer.desktop.in gcr/Makefile gcr/icons/Makefile diff --git a/gcr/Makefile.am b/gcr/Makefile.am index 7f7528c..0a23591 100644 --- a/gcr/Makefile.am +++ b/gcr/Makefile.am @@ -299,7 +299,7 @@ update_mime_database: endif desktopdir = $(datadir)/applications -desktop_in_in_files = gcr-viewer.desktop.in.in +desktop_in_in_files = gcr-viewer.desktop.in.in gcr-prompter.desktop.in.in desktop_in_files = $(desktop_in_in_files:.desktop.in.in=.desktop.in) desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) @INTLTOOL_DESKTOP_RULE@ diff --git a/gcr/gcr-prompter.desktop.in.in b/gcr/gcr-prompter.desktop.in.in new file mode 100644 index 0000000..6d43e0c --- /dev/null +++ b/gcr/gcr-prompter.desktop.in.in @@ -0,0 +1,8 @@ +[Desktop Entry] +_Name=Access Prompt +_Comment=Unlock access to passwords and other secrets +Icon=security-medium +Exec=@libexecdir@/gcr-prompter +Terminal=false +Type=Application +NoDisplay=true -- 2.7.4