Age | Commit message (Collapse) | Author | Files | Lines |
|
Run with --version, only show the application name and version, not show
the path of program.
|
|
enviroment when the session starts.
If we get passed an environment variable, send it along to the
systemd --user session so things running in that context can pick
it up.
See: https://bugzilla.gnome.org/show_bug.cgi?id=736660
|
|
the session starts.
dbus-update-activation-environment excepts certain environment
variables, that systemd won't. We're going to want to eventually
send the environment to systemd, too, so we should make sure the
same set of variables get sent to both.
See: https://bugzilla.gnome.org/show_bug.cgi?id=736660
|
|
|
|
this introduces a bit of code duplication but makes m-s-m independent
of any MATE packages which rely upon GTK+, and so makes it possible
to migrate m-s-m to GTK+3 right away.
of course, this change might be reverted in the future (when all of MATE
becomes GTK+3 only).
|
|
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..
|
|
|
|
from https://github.com/GNOME/gnome-session/commit/f415130f0de6cdc13d9433632d5ee1554a242103
and https://github.com/GNOME/gnome-session/commit/378f502047022b263d14bbbec213ad442e5ad822
|
|
fixes the issue with GLib >= 2.43,
https://git.gnome.org/browse/glib/commit/?id=8ff5668a458344da22d30491e3ce726d861b3619
|
|
|
|
XDG_CURRENT_DESKTOP is used by glib >= 2.42 at g_desktop_app_info* functions
Original GNOME commit: https://git.gnome.org/browse/gnome-session/commit/?id=1db085ce7e5197b28ab24a3ec54d888efe98fcb4
Closes https://github.com/mate-desktop/mate-session-manager/pull/62
|
|
|
|
|
|
|
|
The following functions are available in version 2 and 3.
gdk_display_get_default
GDK_DISPLAY_XDISPLAY
gdk_display_get_name
gdk_display_get_default
|
|
|
|
|
|
Code comes from xfce4-session
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|