[gpointing-device-settings] add .desktop file.
- From: Hiroyuki Ikezoe <hiikezoe src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gpointing-device-settings] add .desktop file.
- Date: Thu, 7 Jan 2010 10:47:03 +0000 (UTC)
commit d6e492a596da269ac9e64e6b0b03b01e4e7dc90e
Author: Hiroyuki Ikezoe <poincare ikezoe net>
Date: Thu Jan 7 19:42:54 2010 +0900
add .desktop file.
Fix for bug #588706.
.gitignore | 2 ++
configure.ac | 1 +
data/Makefile.am | 11 +++++++++--
data/gpointing-device-settings.desktop.in.in | 10 ++++++++++
po/POTFILES.in | 1 +
5 files changed, 23 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 59efad7..20fe9e2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -32,6 +32,8 @@ coverage.info
*.gcno
*.gcda
data/gpointing-device-settings_gnome_settings_daemon.schemas
+data/gpointing-device-settings.desktop
+data/gpointing-device-settings.desktop.in
po/Makefile.in.in
po/POTFILES
po/gpointing-device-settings.pot
diff --git a/configure.ac b/configure.ac
index 6a9794e..3c2efe2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -166,6 +166,7 @@ modules/Makefile
modules/common/Makefile
modules/gnome-settings-daemon-plugins/Makefile
data/Makefile
+data/gpointing-device-settings.desktop.in
test/Makefile
doc/Makefile
po/Makefile.in
diff --git a/data/Makefile.am b/data/Makefile.am
index 507a7a1..04d1d8b 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -16,6 +16,11 @@ schemas_in_files = \
schemas_DATA = $(schemas_in_files:.schemas.in=.schemas)
+ INTLTOOL_DESKTOP_RULE@
+desktopdir = $(datadir)/applications
+desktop_in_files = gpointing-device-settings.desktop.in.in
+desktop_DATA = $(desktop_in_files:.desktop.in.in=.desktop)
+
EXTRA_DIST = \
$(gpds_ui_DATA) \
$(gpds_icon_DATA) \
@@ -27,8 +32,10 @@ install-data-local:
endif
CLEANFILES = \
- $(schemas_DATA)
+ $(schemas_DATA) \
+ $(desktop_DATA)
DISTCLEANFILES = \
- $(schemas_DATA)
+ $(schemas_DATA) \
+ $(desktop_DATA)
diff --git a/data/gpointing-device-settings.desktop.in.in b/data/gpointing-device-settings.desktop.in.in
new file mode 100644
index 0000000..2b14ffb
--- /dev/null
+++ b/data/gpointing-device-settings.desktop.in.in
@@ -0,0 +1,10 @@
+[Desktop Entry]
+_Name=Pointing devices
+_Comment=Set your pointing devices preferences
+Exec=gpointing-device-settings
+Icon=preferences-desktop-peripherals
+Terminal=false
+Type=Application
+StartupNotify=true
+Categories=GNOME;GTK;Settings;HardwareSettings;
+OnlyShowIn=GNOME;
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 9d0f2c9..450ddc7 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -9,3 +9,4 @@ modules/gpds-mouse-ui.c
[type: gettext/glade]data/touchpad.ui
[type: gettext/glade]data/main-window.ui
data/gpointing-device-settings_gnome_settings_daemon.schemas.in
+data/gpointing-device-settings.desktop.in.in
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]