Commit ba6c27e3 authored by Allison Karlitskaya's avatar Allison Karlitskaya
Browse files

Set DBusActivatable in (renamed) desktop file

Rename our desktop file to org.gnome.clocks.desktop and add
DBusActivatable=true.

This allows us to be launched directly from the shell by way of D-Bus
activation (instead of going via the launcher binary).
parent 6aedcdec
......@@ -7,8 +7,8 @@ SUBDIRS = po
%.desktop: %.desktop.in
$(MKDIR_P) $(dir $@); LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@
applicationsdir = $(datadir)/applications
applications_DATA = data/gnome-clocks.desktop
dist_noinst_DATA = data/gnome-clocks.desktop.in
applications_DATA = data/org.gnome.clocks.desktop
dist_noinst_DATA = data/org.gnome.clocks.desktop.in
# gsettings
gsettings_SCHEMAS = data/org.gnome.clocks.gschema.xml
......
......@@ -8,6 +8,7 @@ Exec=gnome-clocks
Icon=gnome-clocks
Terminal=false
Type=Application
DBusActivatable=true
Categories=GNOME;GTK;Utility;Clock;
StartupNotify=true
X-GNOME-UsesNotifications=true
data/gnome-clocks.desktop.in
data/org.gnome.clocks.desktop.in
data/org.gnome.clocks.gschema.xml.in
src/alarm.vala
src/application.vala
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment