update the desktop file database on install, since we add a new mime

2004-12-10  James Henstridge  <james@jamesh.id.au>

    * 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.
This commit is contained in:
James Henstridge 2004-12-10 09:55:33 +00:00 committed by James Henstridge
parent 2a7bec1ecb
commit 2e7b208233
3 changed files with 16 additions and 3 deletions

View file

@ -1,3 +1,11 @@
2004-12-10 James Henstridge <james@jamesh.id.au>
* 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 <james@jamesh.id.au>
* themus.applications, themus.keys: remove.

View file

@ -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@

View file

@ -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