[gnome-bluetooth] all: Add desktop files for sendto and wizard



commit 082db0a06fec0839813f4d54288015df292a617c
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Feb 28 17:56:04 2011 +0000

    all: Add desktop files for sendto and wizard
    
    So that they have nice translated names in the shell.

 configure.ac                                  |    2 ++
 po/POTFILES.in                                |    2 ++
 properties/bluetooth-properties.desktop.in.in |    1 -
 sendto/Makefile.am                            |    8 +++++++-
 wizard/Makefile.am                            |    8 +++++++-
 5 files changed, 18 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index be8fcb7..e6bec7e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -214,7 +214,9 @@ AC_OUTPUT(Makefile
 	  properties/Makefile
 	  properties/bluetooth-properties.desktop.in
 	  wizard/Makefile
+	  wizard/bluetooth-wizard.desktop.in
 	  sendto/Makefile
+	  sendto/bluetooth-sendto.desktop.in
 	  moblin/Makefile
 	  moblin/bluetooth-panel.desktop.in
           moblin/org.moblin.UX.Shell.Panels.bluetooth.service
diff --git a/po/POTFILES.in b/po/POTFILES.in
index c7e4a82..5267494 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -20,8 +20,10 @@ properties/cc-bluetooth-panel.c
 properties/bluetooth-properties.desktop.in.in
 wizard/main.c
 [type: gettext/glade] wizard/wizard.ui
+wizard/bluetooth-wizard.desktop.in.in
 sendto/main.c
 sendto/nautilus-sendto-plugin.c
+sendto/bluetooth-sendto.desktop.in.in
 moblin/main.c
 moblin/moblin-panel.c
 moblin/bluetooth-panel.desktop.in.in
diff --git a/properties/bluetooth-properties.desktop.in.in b/properties/bluetooth-properties.desktop.in.in
index b15edda..552b6f4 100644
--- a/properties/bluetooth-properties.desktop.in.in
+++ b/properties/bluetooth-properties.desktop.in.in
@@ -12,5 +12,4 @@ X-GNOME-Bugzilla-Bugzilla=GNOME
 X-GNOME-Bugzilla-Product=gnome-bluetooth
 X-GNOME-Bugzilla-Component=properties
 X-GNOME-Bugzilla-Version= VERSION@
-X-GNOME-Bugzilla-OtherBinaries=bluetooth-sendto;bluetooth-wizard;
 X-GNOME-Settings-Panel=bluetooth
diff --git a/sendto/Makefile.am b/sendto/Makefile.am
index 55dfc39..07a2d48 100644
--- a/sendto/Makefile.am
+++ b/sendto/Makefile.am
@@ -19,6 +19,12 @@ bluetooth_sendto_LDADD = $(top_builddir)/lib/libcommon.la $(top_builddir)/lib/li
 
 man_MANS = bluetooth-sendto.1
 
+desktopdir = $(datadir)/applications
+desktop_in_in_files = bluetooth-sendto.desktop.in.in
+desktop_in_files = bluetooth-sendto.desktop.in
+desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+ INTLTOOL_DESKTOP_RULE@
+
 if HAVE_NST
 plugindir = $(libdir)/nautilus-sendto/plugins
 
@@ -38,6 +44,6 @@ gsettings_SCHEMAS = $(gsettingsschema_in_files:.xml.in=.xml)
 
 endif
 
-EXTRA_DIST = $(man_MANS) gnome-bluetooth-nst org.gnome.Bluetooth.nst.gschema.xml.in nautilus-sendto-plugin.c
+EXTRA_DIST = $(man_MANS) $(desktop_in_in_files) gnome-bluetooth-nst org.gnome.Bluetooth.nst.gschema.xml.in nautilus-sendto-plugin.c
 
 MAINTAINERCLEANFILES = Makefile.in
diff --git a/wizard/Makefile.am b/wizard/Makefile.am
index a4f7497..21b3ac0 100644
--- a/wizard/Makefile.am
+++ b/wizard/Makefile.am
@@ -24,6 +24,12 @@ pindir = $(pkgdatadir)
 ui_DATA = wizard.ui
 uidir = $(pkgdatadir)
 
+desktopdir = $(datadir)/applications
+desktop_in_in_files = bluetooth-wizard.desktop.in.in
+desktop_in_files = bluetooth-wizard.desktop.in
+desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+ INTLTOOL_DESKTOP_RULE@
+
 INCLUDES = -I$(top_srcdir)/lib
 
 man_MANS = bluetooth-wizard.1
@@ -35,6 +41,6 @@ check:
 		xmllint --noout --valid $(srcdir)/pin-code-database.xml ;	\
 	fi
 
-EXTRA_DIST = $(man_MANS) $(pin_DATA) $(ui_DATA)
+EXTRA_DIST = $(man_MANS) $(pin_DATA) $(ui_DATA) $(desktop_in_in_files)
 
 MAINTAINERCLEANFILES = Makefile.in



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