From 2e7b2082335e9e3c76bc2cdc00338529da5b0f41 Mon Sep 17 00:00:00 2001 From: James Henstridge Date: Fri, 10 Dec 2004 09:55:33 +0000 Subject: [PATCH] update the desktop file database on install, since we add a new mime 2004-12-10 James Henstridge * Makefile.am: update the desktop file database on install, since we add a new mime action. * themus-theme-applier.desktop.in.in (Exec): use %u rather than %U, since it only handles a single file. --- vfs-methods/themus/ChangeLog | 8 ++++++++ vfs-methods/themus/Makefile.am | 9 +++++++-- vfs-methods/themus/themus-theme-applier.desktop.in.in | 2 +- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/vfs-methods/themus/ChangeLog b/vfs-methods/themus/ChangeLog index 2e9fc86f0..1957af553 100644 --- a/vfs-methods/themus/ChangeLog +++ b/vfs-methods/themus/ChangeLog @@ -1,3 +1,11 @@ +2004-12-10 James Henstridge + + * Makefile.am: update the desktop file database on install, since + we add a new mime action. + + * themus-theme-applier.desktop.in.in (Exec): use %u rather than + %U, since it only handles a single file. + 2004-11-27 James Henstridge * themus.applications, themus.keys: remove. diff --git a/vfs-methods/themus/Makefile.am b/vfs-methods/themus/Makefile.am index 59ecc90f2..5375366c8 100644 --- a/vfs-methods/themus/Makefile.am +++ b/vfs-methods/themus/Makefile.am @@ -59,15 +59,20 @@ desktopdir = $(datadir)/applications desktop_in_files = themus-theme-applier.desktop.in desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) +install-data-local: install-gconf-schemas install-desktop-database + if GCONF_SCHEMAS_INSTALL -install-data-local: +install-gconf-schemas: if test -z "$(DESTDIR)"; then \ GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule themus.schemas; \ fi else -install-data-local: +install-gconf-schemas: endif +install-desktop-database: install-desktopDATA + update-desktop-database $(DESTDIR)$(desktopdir) + @INTLTOOL_DESKTOP_RULE@ @INTLTOOL_SCHEMAS_RULE@ diff --git a/vfs-methods/themus/themus-theme-applier.desktop.in.in b/vfs-methods/themus/themus-theme-applier.desktop.in.in index e7cfce84e..5eaa28d7b 100644 --- a/vfs-methods/themus/themus-theme-applier.desktop.in.in +++ b/vfs-methods/themus/themus-theme-applier.desktop.in.in @@ -3,7 +3,7 @@ Encoding=UTF-8 _Name=Apply theme _Comment=Sets the default theme Icon=gnome-settings-theme -Exec=themus-theme-applier %U +Exec=themus-theme-applier %u Terminal=false Type=Application StartupNotification=false