Commit 0dd265a7 authored by Matthias Clasen's avatar Matthias Clasen Committed by Paolo Borelli

Make DBus-activatable

This conmmit installs a service file, renames the desktop file
to follow the bus name, and adds the DBusActivatable key to the
desktop file, following
https://wiki.gnome.org/HowDoI/DBusApplicationLaunching

https://bugzilla.gnome.org/show_bug.cgi?id=728003
parent 34d6b95b
......@@ -166,7 +166,7 @@ AC_DEFUN([GEDIT_FULLPATH], [
])
dnl FULL_LIBEXECDIR is used for X-GNOME-Bugzilla-ExtraInfoScript expansion
dnl in data/gedit.desktop.in.in
dnl in data/org.gnome.gedit.desktop.in.in
GEDIT_FULLPATH(libexecdir, NONE, FULL_LIBEXECDIR)
AC_SUBST(FULL_LIBEXECDIR)
......@@ -429,7 +429,7 @@ VAPIGEN_CHECK
AC_CONFIG_FILES([
Makefile
data/gedit.desktop.in
data/org.gnome.gedit.desktop.in
data/gedit.pc
data/org.gnome.gedit.gschema.xml
docs/Makefile
......
data_desktopdir = $(datadir)/applications
data_desktop_in_files = data/gedit.desktop.in
data_desktop_in_files = data/org.gnome.gedit.desktop.in
data_desktop_DATA = $(data_desktop_in_files:.desktop.in=.desktop)
data_appdatadir = $(datadir)/appdata
......
......@@ -18,6 +18,7 @@ X-GNOME-Bugzilla-Version=@VERSION@
X-GNOME-Bugzilla-ExtraInfoScript=@FULL_LIBEXECDIR@/gedit/gedit-bugreport.sh
Actions=Window;Document;
_Keywords=Text;Editor;
DBusActivatable=true
[Desktop Action Window]
_Name=Open a New Window
......
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