[libgnomekbd] Added desktop file for the preview app



commit a6c73a96a9fc5204b771c287c173d587b7a1656f
Author: Sergey V. Udaltsov <svu gnome org>
Date:   Thu Feb 24 11:31:42 2011 +0000

    Added desktop file for the preview app
    
    https://bugzilla.gnome.org/show_bug.cgi?id=642903

 configure.in                                    |    1 +
 libgnomekbd/.gitignore                          |   15 ++++++++-------
 libgnomekbd/Makefile.am                         |   11 ++++++++++-
 libgnomekbd/gkbd-keyboard-display.desktop.in.in |   14 ++++++++++++++
 po/POTFILES.in                                  |    1 +
 po/POTFILES.skip                                |    1 +
 6 files changed, 35 insertions(+), 8 deletions(-)
---
diff --git a/configure.in b/configure.in
index 10a0dfd..c9805d6 100644
--- a/configure.in
+++ b/configure.in
@@ -96,6 +96,7 @@ libgnomekbd/Makefile
 libgnomekbd/org.gnome.libgnomekbd.desktop.gschema.xml.in
 libgnomekbd/org.gnome.libgnomekbd.keyboard.gschema.xml.in
 libgnomekbd/org.gnome.libgnomekbd.gschema.xml.in
+libgnomekbd/gkbd-keyboard-display.desktop.in
 test/Makefile
 capplet/Makefile
 capplet/gkbd-indicator-plugins-capplet.desktop.in
diff --git a/libgnomekbd/.gitignore b/libgnomekbd/.gitignore
index 70c09b1..fbc2c38 100644
--- a/libgnomekbd/.gitignore
+++ b/libgnomekbd/.gitignore
@@ -1,15 +1,16 @@
 .deps
-desktop_gnome_peripherals_keyboard_xkb.schemas
-*.la
 .libs
+*.la
 *.lo
 *.gschema.valid
-Makefile
-Makefile.in
+*.gschema.xml
+*.gschema.xml.in
+*.o
+*.desktop
+*.desktop.in
 *marshal.c
 *marshal.h
-*.o
-org.gnome.libgnomekbd.*gschema.xml
-org.gnome.libgnomekbd.*gschema.xml.in
+Makefile
+Makefile.in
 gkbd-keyboard-display
 
diff --git a/libgnomekbd/Makefile.am b/libgnomekbd/Makefile.am
index ff0d8f0..79e01d2 100644
--- a/libgnomekbd/Makefile.am
+++ b/libgnomekbd/Makefile.am
@@ -87,7 +87,11 @@ BUILT_SOURCES = gkbd-indicator-marshal.c \
         gkbd-keyboard-drawing-marshal.c            \
         gkbd-keyboard-drawing-marshal.h
 
-DISTCLEANFILES = $(BUILT_SOURCES) $(gsettings_SCHEMAS)
+DISTCLEANFILES = $(BUILT_SOURCES) \
+        $(gsettings_SCHEMAS) \
+        gkbd-keyboard-display.desktop \
+        gkbd-keyboard-display.desktop.in
+        
 
 MAINTAINERCLEANFILES =                  \
         *~                              \
@@ -106,6 +110,10 @@ gnomekbdinc_HEADERS = \
                       gkbd-keyboard-drawing.h \
                       gkbd-util.h
 
+sysdir = $(datadir)/applications
+sys_in_in_files = gkbd-keyboard-display.desktop.in.in
+sys_DATA = $(sys_in_in_files:.desktop.in.in=.desktop)
+
 @INTLTOOL_DESKTOP_RULE@
 
 noinst_HEADERS = gkbd-indicator-plugin-manager.h \
@@ -120,6 +128,7 @@ EXTRA_DIST = gkbd-indicator-marshal.list \
              $(ui_DATA) \
              $(convert_DATA) \
              $(icons_DATA) \
+             $(sys_in_in_files) \
              $(gsettings_SCHEMAS:.xml=.xml.in.in) 
 
 
diff --git a/libgnomekbd/gkbd-keyboard-display.desktop.in.in b/libgnomekbd/gkbd-keyboard-display.desktop.in.in
new file mode 100644
index 0000000..606d86b
--- /dev/null
+++ b/libgnomekbd/gkbd-keyboard-display.desktop.in.in
@@ -0,0 +1,14 @@
+[Desktop Entry]
+_Name=Keyboard Layout View
+_Comment=Keyboard Layout Preview Application
+Exec=gkbd-keyboard-display
+Terminal=false
+Type=Application
+StartupNotify=true
+NoDisplay=true
+X-GNOME-Bugzilla-Bugzilla=GNOME
+X-GNOME-Bugzilla-Product=libgnomekbd
+X-GNOME-Bugzilla-Component=Drawing
+X-GNOME-Bugzilla-Version= VERSION@
+Categories=GNOME;GTK;Core;
+OnlyShowIn=GNOME;
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 62ca5bb..ff1d54b 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -6,6 +6,7 @@ libgnomekbd/gkbd-keyboard-drawing.c
 libgnomekbd/gkbd-keyboard-config.c
 libgnomekbd/gkbd-status.c
 libgnomekbd/gkbd-util.c
+libgnomekbd/gkbd-keyboard-display.desktop.in.in
 [type: gettext/xml]libgnomekbd/org.gnome.libgnomekbd.desktop.gschema.xml.in.in
 [type: gettext/xml]libgnomekbd/org.gnome.libgnomekbd.gschema.xml.in.in
 [type: gettext/xml]libgnomekbd/org.gnome.libgnomekbd.keyboard.gschema.xml.in.in
diff --git a/po/POTFILES.skip b/po/POTFILES.skip
index 9a43758..fd37360 100644
--- a/po/POTFILES.skip
+++ b/po/POTFILES.skip
@@ -2,3 +2,4 @@ capplet/gkbd-indicator-plugins-capplet.desktop.in
 libgnomekbd/org.gnome.libgnomekbd.gschema.xml.in
 libgnomekbd/org.gnome.libgnomekbd.desktop.gschema.xml.in
 libgnomekbd/org.gnome.libgnomekbd.keyboard.gschema.xml.in
+libgnomekbd/gkbd-keyboard-display.desktop.in



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]