diff options
author | Clement Lefebvre <[email protected]> | 2015-09-04 21:01:09 +0100 |
---|---|---|
committer | Clement Lefebvre <[email protected]> | 2015-09-04 21:42:43 +0100 |
commit | b01c41715ddad682c2e0d2a5eac8fa0deb91c5e8 (patch) | |
tree | 0cc52b63f49cefb7f0ab0d50f8cd4262ce156de8 /doc | |
parent | 725910927048248426f2224762506ef7008f2429 (diff) | |
download | mate-session-manager-b01c41715ddad682c2e0d2a5eac8fa0deb91c5e8.tar.bz2 mate-session-manager-b01c41715ddad682c2e0d2a5eac8fa0deb91c5e8.tar.xz |
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..
Diffstat (limited to 'doc')
-rw-r--r-- | doc/dbus/Makefile.am | 30 | ||||
-rw-r--r-- | doc/dbus/mate-session.xml.in | 10 |
2 files changed, 20 insertions, 20 deletions
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 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [ -<!ENTITY dbus-Manager SYSTEM "org.mate.SessionManager.ref.xml"> -<!ENTITY dbus-Client SYSTEM "org.mate.SessionManager.Client.ref.xml"> -<!ENTITY dbus-ClientPrivate SYSTEM "org.mate.SessionManager.ClientPrivate.ref.xml"> -<!ENTITY dbus-Inhibitor SYSTEM "org.mate.SessionManager.Inhibitor.ref.xml"> -<!ENTITY dbus-Presence SYSTEM "org.mate.SessionManager.Presence.ref.xml"> +<!ENTITY dbus-Manager SYSTEM "org.gnome.SessionManager.ref.xml"> +<!ENTITY dbus-Client SYSTEM "org.gnome.SessionManager.Client.ref.xml"> +<!ENTITY dbus-ClientPrivate SYSTEM "org.gnome.SessionManager.ClientPrivate.ref.xml"> +<!ENTITY dbus-Inhibitor SYSTEM "org.gnome.SessionManager.Inhibitor.ref.xml"> +<!ENTITY dbus-Presence SYSTEM "org.gnome.SessionManager.Presence.ref.xml"> ]> <book id="index"> |