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 /mate-session | |
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 'mate-session')
-rw-r--r-- | mate-session/Makefile.am | 32 | ||||
-rw-r--r-- | mate-session/README | 2 | ||||
-rw-r--r-- | mate-session/gsm-app.c | 2 | ||||
-rw-r--r-- | mate-session/gsm-client.c | 2 | ||||
-rw-r--r-- | mate-session/gsm-dbus-client.c | 4 | ||||
-rw-r--r-- | mate-session/gsm-inhibitor.c | 2 | ||||
-rw-r--r-- | mate-session/gsm-manager.c | 8 | ||||
-rw-r--r-- | mate-session/gsm-presence.c | 2 | ||||
-rw-r--r-- | mate-session/main.c | 2 | ||||
-rw-r--r-- | mate-session/org.gnome.SessionManager.App.xml (renamed from mate-session/org.mate.SessionManager.App.xml) | 2 | ||||
-rw-r--r-- | mate-session/org.gnome.SessionManager.Client.xml (renamed from mate-session/org.mate.SessionManager.Client.xml) | 2 | ||||
-rw-r--r-- | mate-session/org.gnome.SessionManager.ClientPrivate.xml (renamed from mate-session/org.mate.SessionManager.ClientPrivate.xml) | 20 | ||||
-rw-r--r-- | mate-session/org.gnome.SessionManager.Inhibitor.xml (renamed from mate-session/org.mate.SessionManager.Inhibitor.xml) | 2 | ||||
-rw-r--r-- | mate-session/org.gnome.SessionManager.Presence.xml (renamed from mate-session/org.mate.SessionManager.Presence.xml) | 2 | ||||
-rw-r--r-- | mate-session/org.gnome.SessionManager.xml (renamed from mate-session/org.mate.SessionManager.xml) | 22 | ||||
-rw-r--r-- | mate-session/test-client-dbus.c | 8 | ||||
-rw-r--r-- | mate-session/test-inhibit.c | 6 |
17 files changed, 60 insertions, 60 deletions
diff --git a/mate-session/Makefile.am b/mate-session/Makefile.am index bfbdb1d..c6e8d37 100644 --- a/mate-session/Makefile.am +++ b/mate-session/Makefile.am @@ -104,20 +104,20 @@ gsm-marshal.c: gsm-marshal.list gsm-marshal.h: gsm-marshal.list $(AM_V_GEN)$(GLIB_GENMARSHAL) $< --prefix=gsm_marshal --header > $@ -gsm-manager-glue.h: org.mate.SessionManager.xml Makefile.am - $(AM_V_GEN)dbus-binding-tool --prefix=gsm_manager --mode=glib-server --output=gsm-manager-glue.h $(srcdir)/org.mate.SessionManager.xml +gsm-manager-glue.h: org.gnome.SessionManager.xml Makefile.am + $(AM_V_GEN)dbus-binding-tool --prefix=gsm_manager --mode=glib-server --output=gsm-manager-glue.h $(srcdir)/org.gnome.SessionManager.xml -gsm-client-glue.h: org.mate.SessionManager.Client.xml Makefile.am - $(AM_V_GEN)dbus-binding-tool --prefix=gsm_client --mode=glib-server --output=gsm-client-glue.h $(srcdir)/org.mate.SessionManager.Client.xml +gsm-client-glue.h: org.gnome.SessionManager.Client.xml Makefile.am + $(AM_V_GEN)dbus-binding-tool --prefix=gsm_client --mode=glib-server --output=gsm-client-glue.h $(srcdir)/org.gnome.SessionManager.Client.xml -gsm-app-glue.h: org.mate.SessionManager.App.xml Makefile.am - $(AM_V_GEN)dbus-binding-tool --prefix=gsm_app --mode=glib-server --output=gsm-app-glue.h $(srcdir)/org.mate.SessionManager.App.xml +gsm-app-glue.h: org.gnome.SessionManager.App.xml Makefile.am + $(AM_V_GEN)dbus-binding-tool --prefix=gsm_app --mode=glib-server --output=gsm-app-glue.h $(srcdir)/org.gnome.SessionManager.App.xml -gsm-inhibitor-glue.h: org.mate.SessionManager.Inhibitor.xml Makefile.am - $(AM_V_GEN)dbus-binding-tool --prefix=gsm_inhibitor --mode=glib-server --output=gsm-inhibitor-glue.h $(srcdir)/org.mate.SessionManager.Inhibitor.xml +gsm-inhibitor-glue.h: org.gnome.SessionManager.Inhibitor.xml Makefile.am + $(AM_V_GEN)dbus-binding-tool --prefix=gsm_inhibitor --mode=glib-server --output=gsm-inhibitor-glue.h $(srcdir)/org.gnome.SessionManager.Inhibitor.xml -gsm-presence-glue.h: org.mate.SessionManager.Presence.xml Makefile.am - $(AM_V_GEN)dbus-binding-tool --prefix=gsm_presence --mode=glib-server --output=gsm-presence-glue.h $(srcdir)/org.mate.SessionManager.Presence.xml +gsm-presence-glue.h: org.gnome.SessionManager.Presence.xml Makefile.am + $(AM_V_GEN)dbus-binding-tool --prefix=gsm_presence --mode=glib-server --output=gsm-presence-glue.h $(srcdir)/org.gnome.SessionManager.Presence.xml BUILT_SOURCES = \ gsm-marshal.c \ @@ -131,12 +131,12 @@ BUILT_SOURCES = \ EXTRA_DIST = \ README \ gsm-marshal.list \ - org.mate.SessionManager.xml \ - org.mate.SessionManager.App.xml \ - org.mate.SessionManager.Client.xml \ - org.mate.SessionManager.ClientPrivate.xml \ - org.mate.SessionManager.Inhibitor.xml \ - org.mate.SessionManager.Presence.xml + org.gnome.SessionManager.xml \ + org.gnome.SessionManager.App.xml \ + org.gnome.SessionManager.Client.xml \ + org.gnome.SessionManager.ClientPrivate.xml \ + org.gnome.SessionManager.Inhibitor.xml \ + org.gnome.SessionManager.Presence.xml CLEANFILES = \ $(BUILT_SOURCES) diff --git a/mate-session/README b/mate-session/README index 5b4e67b..f030efb 100644 --- a/mate-session/README +++ b/mate-session/README @@ -23,7 +23,7 @@ Startup is divided into 6 phases (GsmSessionPhase): running very early (before any windows are displayed). Apps in this phase can make use of a D-Bus interface - (org.mate.SessionManager.Setenv) to set environment variables + (org.gnome.SessionManager.Setenv) to set environment variables in mate-session's environment. This can be used for things like $GTK_MODULES, $MATE_KEYRING_SOCKET, etc diff --git a/mate-session/gsm-app.c b/mate-session/gsm-app.c index 9b3ea39..55c2911 100644 --- a/mate-session/gsm-app.c +++ b/mate-session/gsm-app.c @@ -121,7 +121,7 @@ gsm_app_constructor (GType type, construct_properties)); g_free (app->priv->id); - app->priv->id = g_strdup_printf ("/org/mate/SessionManager/App%u", get_next_app_serial ()); + app->priv->id = g_strdup_printf ("/org/gnome/SessionManager/App%u", get_next_app_serial ()); res = register_app (app); if (! res) { diff --git a/mate-session/gsm-client.c b/mate-session/gsm-client.c index 801e05c..2909d99 100644 --- a/mate-session/gsm-client.c +++ b/mate-session/gsm-client.c @@ -140,7 +140,7 @@ gsm_client_constructor (GType type, construct_properties)); g_free (client->priv->id); - client->priv->id = g_strdup_printf ("/org/mate/SessionManager/Client%u", get_next_client_serial ()); + client->priv->id = g_strdup_printf ("/org/gnome/SessionManager/Client%u", get_next_client_serial ()); res = register_client (client); if (! res) { diff --git a/mate-session/gsm-dbus-client.c b/mate-session/gsm-dbus-client.c index b156fd1..3b33170 100644 --- a/mate-session/gsm-dbus-client.c +++ b/mate-session/gsm-dbus-client.c @@ -40,8 +40,8 @@ #define GSM_DBUS_CLIENT_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GSM_TYPE_DBUS_CLIENT, GsmDBusClientPrivate)) -#define SM_DBUS_NAME "org.mate.SessionManager" -#define SM_DBUS_CLIENT_PRIVATE_INTERFACE "org.mate.SessionManager.ClientPrivate" +#define SM_DBUS_NAME "org.gnome.SessionManager" +#define SM_DBUS_CLIENT_PRIVATE_INTERFACE "org.gnome.SessionManager.ClientPrivate" struct GsmDBusClientPrivate { diff --git a/mate-session/gsm-inhibitor.c b/mate-session/gsm-inhibitor.c index 33de12f..6f4e229 100644 --- a/mate-session/gsm-inhibitor.c +++ b/mate-session/gsm-inhibitor.c @@ -142,7 +142,7 @@ gsm_inhibitor_constructor (GType type, construct_properties)); g_free (inhibitor->priv->id); - inhibitor->priv->id = g_strdup_printf ("/org/mate/SessionManager/Inhibitor%u", get_next_inhibitor_serial ()); + inhibitor->priv->id = g_strdup_printf ("/org/gnome/SessionManager/Inhibitor%u", get_next_inhibitor_serial ()); res = register_inhibitor (inhibitor); if (! res) { g_warning ("Unable to register inhibitor with session bus"); diff --git a/mate-session/gsm-manager.c b/mate-session/gsm-manager.c index 552307c..c3c7c12 100644 --- a/mate-session/gsm-manager.c +++ b/mate-session/gsm-manager.c @@ -69,8 +69,8 @@ #define GSM_MANAGER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GSM_TYPE_MANAGER, GsmManagerPrivate)) -#define GSM_MANAGER_DBUS_PATH "/org/mate/SessionManager" -#define GSM_MANAGER_DBUS_NAME "org.mate.SessionManager" +#define GSM_MANAGER_DBUS_PATH "/org/gnome/SessionManager" +#define GSM_MANAGER_DBUS_NAME "org.gnome.SessionManager" #define GSM_MANAGER_PHASE_TIMEOUT 30 /* seconds */ @@ -3275,8 +3275,8 @@ user_logout (GsmManager *manager, /* dbus-send --session --type=method_call --print-reply - --dest=org.mate.SessionManager - /org/mate/SessionManager + --dest=org.gnome.SessionManager + /org/gnome/SessionManager org.freedesktop.DBus.Introspectable.Introspect */ diff --git a/mate-session/gsm-presence.c b/mate-session/gsm-presence.c index 725e4f3..4e21140 100644 --- a/mate-session/gsm-presence.c +++ b/mate-session/gsm-presence.c @@ -33,7 +33,7 @@ #include "gsm-presence.h" #include "gsm-presence-glue.h" -#define GSM_PRESENCE_DBUS_PATH "/org/mate/SessionManager/Presence" +#define GSM_PRESENCE_DBUS_PATH "/org/gnome/SessionManager/Presence" #define GS_NAME "org.mate.ScreenSaver" #define GS_PATH "/org/mate/ScreenSaver" diff --git a/mate-session/main.c b/mate-session/main.c index c812038..5f6e221 100644 --- a/mate-session/main.c +++ b/mate-session/main.c @@ -77,7 +77,7 @@ #define MATE_INTERFACE_SCHEMA "org.mate.interface" #define GTK_OVERLAY_SCROLL "gtk-overlay-scrolling" -#define GSM_DBUS_NAME "org.mate.SessionManager" +#define GSM_DBUS_NAME "org.gnome.SessionManager" #define KEY_AUTOSAVE "auto-save-session" diff --git a/mate-session/org.mate.SessionManager.App.xml b/mate-session/org.gnome.SessionManager.App.xml index 971eb7e..9f6e1b3 100644 --- a/mate-session/org.mate.SessionManager.App.xml +++ b/mate-session/org.gnome.SessionManager.App.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> <node xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd"> - <interface name="org.mate.SessionManager.App"> + <interface name="org.gnome.SessionManager.App"> <method name="GetAppId"> <arg type="s" name="app_id" direction="out"> <doc:doc> diff --git a/mate-session/org.mate.SessionManager.Client.xml b/mate-session/org.gnome.SessionManager.Client.xml index 0d51986..a0f5a31 100644 --- a/mate-session/org.mate.SessionManager.Client.xml +++ b/mate-session/org.gnome.SessionManager.Client.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> <node xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd"> - <interface name="org.mate.SessionManager.Client"> + <interface name="org.gnome.SessionManager.Client"> <method name="GetAppId"> <arg type="s" name="app_id" direction="out"> <doc:doc> diff --git a/mate-session/org.mate.SessionManager.ClientPrivate.xml b/mate-session/org.gnome.SessionManager.ClientPrivate.xml index 6adedba..a167065 100644 --- a/mate-session/org.mate.SessionManager.ClientPrivate.xml +++ b/mate-session/org.gnome.SessionManager.ClientPrivate.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> <node xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd"> - <interface name="org.mate.SessionManager.ClientPrivate"> + <interface name="org.gnome.SessionManager.ClientPrivate"> <method name="EndSessionResponse"> <arg name="is_ok" type="b" direction="in"> <doc:doc> @@ -16,8 +16,8 @@ <doc:doc> <doc:description> <doc:para>This method should be used by the client in response to - the <doc:ref type="signal" to="org.mate.SessionManager.ClientPrivate::QueryEndSession">QueryEndSession</doc:ref> - and <doc:ref type="signal" to="org.mate.SessionManager.ClientPrivate::EndSession">EndSession</doc:ref> signals. + the <doc:ref type="signal" to="org.gnome.SessionManager.ClientPrivate::QueryEndSession">QueryEndSession</doc:ref> + and <doc:ref type="signal" to="org.gnome.SessionManager.ClientPrivate::EndSession">EndSession</doc:ref> signals. </doc:para> </doc:description> </doc:doc> @@ -46,7 +46,7 @@ <doc:para>This signal is used to inform the client that the session is about to end. The client must respond by calling - <doc:ref type="method" to="org.mate.SessionManager.ClientPrivate.EndSessionResponse">EndSessionResponse</doc:ref> + <doc:ref type="method" to="org.gnome.SessionManager.ClientPrivate.EndSessionResponse">EndSessionResponse</doc:ref> within one second of the signal emission. </doc:para> <doc:para> @@ -55,7 +55,7 @@ <doc:item> <doc:term>1</doc:term> <doc:definition>Logout is forced. - <doc:ref type="method" to="org.mate.SessionManager.ClientPrivate.EndSessionResponse">EndSessionResponse</doc:ref> + <doc:ref type="method" to="org.gnome.SessionManager.ClientPrivate.EndSessionResponse">EndSessionResponse</doc:ref> reason and any inhibit from client will be ignored.</doc:definition> </doc:item> @@ -71,12 +71,12 @@ interact with the user in response to this signal. Any actions required for a clean shutdown should take place in response to the - <doc:ref type="signal" to="org.mate.SessionManager.ClientPrivate::EndSession">EndSession</doc:ref> signal. + <doc:ref type="signal" to="org.gnome.SessionManager.ClientPrivate::EndSession">EndSession</doc:ref> signal. </doc:para> <doc:para> The client should limit operations until either a - <doc:ref type="signal" to="org.mate.SessionManager.ClientPrivate::EndSession">EndSession</doc:ref> - <doc:ref type="signal" to="org.mate.SessionManager.ClientPrivate::CancelEndSession">CancelEndSession</doc:ref> + <doc:ref type="signal" to="org.gnome.SessionManager.ClientPrivate::EndSession">EndSession</doc:ref> + <doc:ref type="signal" to="org.gnome.SessionManager.ClientPrivate::CancelEndSession">CancelEndSession</doc:ref> signal is received. </doc:para> </doc:description> @@ -94,7 +94,7 @@ <doc:para>This signal is used to inform the client that the session is about to end. The client must respond by calling - <doc:ref type="method" to="org.mate.SessionManager.ClientPrivate.EndSessionResponse">EndSessionResponse</doc:ref> + <doc:ref type="method" to="org.gnome.SessionManager.ClientPrivate.EndSessionResponse">EndSessionResponse</doc:ref> within ten seconds of the signal emission. </doc:para> <doc:para> @@ -112,7 +112,7 @@ <doc:description> <doc:para> This signal indicates to the client that a previous emission of - <doc:ref type="signal" to="org.mate.SessionManager.ClientPrivate::QueryEndSession">QueryEndSession</doc:ref> + <doc:ref type="signal" to="org.gnome.SessionManager.ClientPrivate::QueryEndSession">QueryEndSession</doc:ref> has been cancelled. The client should resume normal operations. </doc:para> </doc:description> diff --git a/mate-session/org.mate.SessionManager.Inhibitor.xml b/mate-session/org.gnome.SessionManager.Inhibitor.xml index 4d1f128..342d2a8 100644 --- a/mate-session/org.mate.SessionManager.Inhibitor.xml +++ b/mate-session/org.gnome.SessionManager.Inhibitor.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> <node xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd"> - <interface name="org.mate.SessionManager.Inhibitor"> + <interface name="org.gnome.SessionManager.Inhibitor"> <method name="GetAppId"> <arg type="s" name="app_id" direction="out"> <doc:doc> diff --git a/mate-session/org.mate.SessionManager.Presence.xml b/mate-session/org.gnome.SessionManager.Presence.xml index 49f0620..0441970 100644 --- a/mate-session/org.mate.SessionManager.Presence.xml +++ b/mate-session/org.gnome.SessionManager.Presence.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> <node xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd"> - <interface name="org.mate.SessionManager.Presence"> + <interface name="org.gnome.SessionManager.Presence"> <property name="status" type="u" access="readwrite"> <doc:doc> diff --git a/mate-session/org.mate.SessionManager.xml b/mate-session/org.gnome.SessionManager.xml index 9b6f452..190f372 100644 --- a/mate-session/org.mate.SessionManager.xml +++ b/mate-session/org.gnome.SessionManager.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> <node xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd"> - <interface name="org.mate.SessionManager"> + <interface name="org.gnome.SessionManager"> <!-- Initialization phase interfaces --> @@ -116,7 +116,7 @@ <doc:para>Applications should invoke this method when they begin an operation that should not be interrupted, such as creating a CD or DVD. The types of actions that may be blocked are specified by the flags parameter. When the application - completes the operation it should call <doc:ref type="method" to="org.mate.SessionManager.Uninhibit">Uninhibit()</doc:ref> + completes the operation it should call <doc:ref type="method" to="org.gnome.SessionManager.Uninhibit">Uninhibit()</doc:ref> or disconnect from the session bus. </doc:para> <doc:para> @@ -151,7 +151,7 @@ </doc:para> <doc:para> The returned cookie is used to uniquely identify this request. It should be used - as an argument to <doc:ref type="method" to="org.mate.SessionManager.Uninhibit">Uninhibit()</doc:ref> in + as an argument to <doc:ref type="method" to="org.gnome.SessionManager.Uninhibit">Uninhibit()</doc:ref> in order to remove the request. </doc:para> </doc:description> @@ -167,7 +167,7 @@ </arg> <doc:doc> <doc:description> - <doc:para>Cancel a previous call to <doc:ref type="method" to="org.mate.SessionManager.Inhibit">Inhibit()</doc:ref> identified by the cookie.</doc:para> + <doc:para>Cancel a previous call to <doc:ref type="method" to="org.gnome.SessionManager.Inhibit">Inhibit()</doc:ref> identified by the cookie.</doc:para> </doc:description> </doc:doc> </method> @@ -188,7 +188,7 @@ <doc:para>Determine if operation(s) specified by the flags are currently inhibited. Flags are same as those accepted by the - <doc:ref type="method" to="org.mate.SessionManager.Inhibit">Inhibit()</doc:ref> + <doc:ref type="method" to="org.gnome.SessionManager.Inhibit">Inhibit()</doc:ref> method.</doc:para> </doc:description> </doc:doc> @@ -202,12 +202,12 @@ </arg> <doc:doc> <doc:description> - <doc:para>This gets a list of all the <doc:ref type="interface" to="org.mate.SessionManager.Client">Clients</doc:ref> + <doc:para>This gets a list of all the <doc:ref type="interface" to="org.gnome.SessionManager.Client">Clients</doc:ref> that are currently known to the session manager.</doc:para> <doc:para>Each Client ID is an D-Bus object path for the object that implements the - <doc:ref type="interface" to="org.mate.SessionManager.Client">Client</doc:ref> interface.</doc:para> + <doc:ref type="interface" to="org.gnome.SessionManager.Client">Client</doc:ref> interface.</doc:para> </doc:description> - <doc:seealso><doc:ref type="interface" to="org.mate.SessionManager.Client">org.mate.SessionManager.Client</doc:ref></doc:seealso> + <doc:seealso><doc:ref type="interface" to="org.gnome.SessionManager.Client">org.gnome.SessionManager.Client</doc:ref></doc:seealso> </doc:doc> </method> @@ -219,12 +219,12 @@ </arg> <doc:doc> <doc:description> - <doc:para>This gets a list of all the <doc:ref type="interface" to="org.mate.SessionManager.Inhibitor">Inhibitors</doc:ref> + <doc:para>This gets a list of all the <doc:ref type="interface" to="org.gnome.SessionManager.Inhibitor">Inhibitors</doc:ref> that are currently known to the session manager.</doc:para> <doc:para>Each Inhibitor ID is an D-Bus object path for the object that implements the - <doc:ref type="interface" to="org.mate.SessionManager.Inhibitor">Inhibitor</doc:ref> interface.</doc:para> + <doc:ref type="interface" to="org.gnome.SessionManager.Inhibitor">Inhibitor</doc:ref> interface.</doc:para> </doc:description> - <doc:seealso><doc:ref type="interface" to="org.mate.SessionManager.Inhibitor">org.mate.SessionManager.Inhibitor</doc:ref></doc:seealso> + <doc:seealso><doc:ref type="interface" to="org.gnome.SessionManager.Inhibitor">org.gnome.SessionManager.Inhibitor</doc:ref></doc:seealso> </doc:doc> </method> diff --git a/mate-session/test-client-dbus.c b/mate-session/test-client-dbus.c index a41255a..70f7d3a 100644 --- a/mate-session/test-client-dbus.c +++ b/mate-session/test-client-dbus.c @@ -29,11 +29,11 @@ #include <glib.h> #include <dbus/dbus-glib.h> -#define SM_DBUS_NAME "org.mate.SessionManager" -#define SM_DBUS_PATH "/org/mate/SessionManager" -#define SM_DBUS_INTERFACE "org.mate.SessionManager" +#define SM_DBUS_NAME "org.gnome.SessionManager" +#define SM_DBUS_PATH "/org/gnome/SessionManager" +#define SM_DBUS_INTERFACE "org.gnome.SessionManager" -#define SM_CLIENT_DBUS_INTERFACE "org.mate.SessionManager.ClientPrivate" +#define SM_CLIENT_DBUS_INTERFACE "org.gnome.SessionManager.ClientPrivate" #ifdef __GNUC__ #define UNUSED_VARIABLE __attribute__ ((unused)) diff --git a/mate-session/test-inhibit.c b/mate-session/test-inhibit.c index 3e05750..fdc0744 100644 --- a/mate-session/test-inhibit.c +++ b/mate-session/test-inhibit.c @@ -30,9 +30,9 @@ #include <gdk/gdkx.h> #include <dbus/dbus-glib.h> -#define SM_DBUS_NAME "org.mate.SessionManager" -#define SM_DBUS_PATH "/org/mate/SessionManager" -#define SM_DBUS_INTERFACE "org.mate.SessionManager" +#define SM_DBUS_NAME "org.gnome.SessionManager" +#define SM_DBUS_PATH "/org/gnome/SessionManager" +#define SM_DBUS_INTERFACE "org.gnome.SessionManager" #ifdef __GNUC__ #define UNUSED_VARIABLE __attribute__ ((unused)) |