From b01c41715ddad682c2e0d2a5eac8fa0deb91c5e8 Mon Sep 17 00:00:00 2001 From: Clement Lefebvre Date: Fri, 4 Sep 2015 21:01:09 +0100 Subject: Use org.gnome.SessionManager at /org/gnome/SessionManager as the DBUS API. This is necessary for compatibility and it brings support for many apps hardcoding GNOME support but also apps written in GTK (Gtk.Application taps into org.gnome.Session to register applications for a clean shutdown and for inhibition). It doesn't conflict with GNOME or Cinnamon (which both use the same name) since it's on the SessionBus. It makes mate-session aware of programs such as gedit, etc.. which might need to save people's work before logout, it brings support for totem inhibiting the session etc etc.. --- doc/dbus/Makefile.am | 30 +++++++++++++++--------------- doc/dbus/mate-session.xml.in | 10 +++++----- 2 files changed, 20 insertions(+), 20 deletions(-) (limited to 'doc/dbus') diff --git a/doc/dbus/Makefile.am b/doc/dbus/Makefile.am index 4ca511d..fa8cabd 100644 --- a/doc/dbus/Makefile.am +++ b/doc/dbus/Makefile.am @@ -1,10 +1,10 @@ SPEC_XML_FILES = \ mate-session.xml \ - org.mate.SessionManager.ref.xml \ - org.mate.SessionManager.Client.ref.xml \ - org.mate.SessionManager.ClientPrivate.ref.xml \ - org.mate.SessionManager.Inhibitor.ref.xml \ - org.mate.SessionManager.Presence.ref.xml + org.gnome.SessionManager.ref.xml \ + org.gnome.SessionManager.Client.ref.xml \ + org.gnome.SessionManager.ClientPrivate.ref.xml \ + org.gnome.SessionManager.Inhibitor.ref.xml \ + org.gnome.SessionManager.Presence.ref.xml if DOCBOOK_DOCS_ENABLED @@ -16,23 +16,23 @@ mate-session.html: $(SPEC_XML_FILES) endif # DOCBOOK_DOCS_ENABLED -org.mate.SessionManager.ref.xml: $(top_srcdir)/mate-session/org.mate.SessionManager.xml spec-to-docbook.xsl +org.gnome.SessionManager.ref.xml: $(top_srcdir)/mate-session/org.gnome.SessionManager.xml spec-to-docbook.xsl $(AM_V_GEN)$(XSLTPROC) $(top_srcdir)/doc/dbus/spec-to-docbook.xsl $< | tail -n +2 > $@ -org.mate.SessionManager.Client.ref.xml: $(top_srcdir)/mate-session/org.mate.SessionManager.Client.xml spec-to-docbook.xsl +org.gnome.SessionManager.Client.ref.xml: $(top_srcdir)/mate-session/org.gnome.SessionManager.Client.xml spec-to-docbook.xsl $(AM_V_GEN)$(XSLTPROC) $(top_srcdir)/doc/dbus/spec-to-docbook.xsl $< | tail -n +2 > $@ -org.mate.SessionManager.ClientPrivate.ref.xml: $(top_srcdir)/mate-session/org.mate.SessionManager.ClientPrivate.xml spec-to-docbook.xsl +org.gnome.SessionManager.ClientPrivate.ref.xml: $(top_srcdir)/mate-session/org.gnome.SessionManager.ClientPrivate.xml spec-to-docbook.xsl $(AM_V_GEN)$(XSLTPROC) $(top_srcdir)/doc/dbus/spec-to-docbook.xsl $< | tail -n +2 > $@ -org.mate.SessionManager.Inhibitor.ref.xml: $(top_srcdir)/mate-session/org.mate.SessionManager.Inhibitor.xml spec-to-docbook.xsl +org.gnome.SessionManager.Inhibitor.ref.xml: $(top_srcdir)/mate-session/org.gnome.SessionManager.Inhibitor.xml spec-to-docbook.xsl $(AM_V_GEN)$(XSLTPROC) $(top_srcdir)/doc/dbus/spec-to-docbook.xsl $< | tail -n +2 > $@ -org.mate.SessionManager.Presence.ref.xml: $(top_srcdir)/mate-session/org.mate.SessionManager.Presence.xml spec-to-docbook.xsl +org.gnome.SessionManager.Presence.ref.xml: $(top_srcdir)/mate-session/org.gnome.SessionManager.Presence.xml spec-to-docbook.xsl $(AM_V_GEN)$(XSLTPROC) $(top_srcdir)/doc/dbus/spec-to-docbook.xsl $< | tail -n +2 > $@ BUILT_SOURCES = \ - org.mate.SessionManager.ref.xml \ - org.mate.SessionManager.Client.ref.xml \ - org.mate.SessionManager.ClientPrivate.ref.xml \ - org.mate.SessionManager.Inhibitor.ref.xml \ - org.mate.SessionManager.Presence.ref.xml + org.gnome.SessionManager.ref.xml \ + org.gnome.SessionManager.Client.ref.xml \ + org.gnome.SessionManager.ClientPrivate.ref.xml \ + org.gnome.SessionManager.Inhibitor.ref.xml \ + org.gnome.SessionManager.Presence.ref.xml CLEANFILES = \ $(BUILT_SOURCES) \ diff --git a/doc/dbus/mate-session.xml.in b/doc/dbus/mate-session.xml.in index 12f0436..bd5eb45 100644 --- a/doc/dbus/mate-session.xml.in +++ b/doc/dbus/mate-session.xml.in @@ -1,10 +1,10 @@ - - - - + + + + + ]> -- cgit v1.2.1