summaryrefslogtreecommitdiff
path: root/mate-session
AgeCommit message (Collapse)AuthorFilesLines
2021-04-22Look for the location of the locking screen app using user's PATHrbuj2-2/+4
2021-02-24build: allow users to disable gettext support (--disable-nls)rbuj1-1/+2
2021-01-22Support xscreensaver when mate-screensaver is not availablerbuj4-18/+70
2021-01-07Remove warning -Wshadowrbuj2-8/+8
2020-07-08Change some icons by other always availabletamplan1-18/+18
2020-06-27use libegg submoduleWu Xiaotian1-2/+2
2019-12-21avoid redundant redeclarationsPablo Barciela16-30/+1
2019-10-08Fix timeout with gnome-keyring 3.34Jindrich Makovicka1-65/+20
Launch gnome-keyring-daemon asynchronously, and remove the GNOME_KEYRING_PID reading code. GNOME_KEYRING_PID exposure was removed from gnome-keyring in 2014.
2019-10-08Remove GNOME_KEYRING_LIFETIME_FDJindrich Makovicka1-33/+2
Keyring lifetime fd was removed from gnome-keyring in 2009 See "[daemon] Use new control protocol for daemon."
2019-07-03Remove trailing whitespacesLaurent Napias5-29/+29
2019-05-09test-inhibit.c: migrate to gdbusWu Xiaotian1-51/+33
2019-05-04main: Potential leak of memory pointed to by 'new_argv'rbuj1-0/+3
2019-05-02[Security] Use 'g_strlcpy' instead of 'strcpy'Wu Xiaotian1-2/+2
2019-04-24Fix unable to retrieve org.gnome.SessionManager.Renderer propertyrbuj4-0/+94
2019-03-21Add ELOGIND supportVictor Kareh1-0/+2
Reuses HAVE_SYSTEMD #define to reduce #ifdef mess. ELOGIND is not officially supported, but since it's a subset of systemd, it should work out of the box. Co-authored-by: Joakim Tjernlund <[email protected]> Co-authored-by: Jorge Pizarro Callejas <[email protected]>
2019-03-07Guard against missing systemdVictor Kareh1-0/+19
2019-02-04 manager: restart user bus if last graphical sessionVictor Kareh1-0/+49
There are desktop services (such as goa-daemon, e-d-s, etc) that don't open the display, but rely on dbus-daemon to scope the session. These days dbus-daemon is a user bus, not a sesssion, bus which leaves these services alive after log out. This commit checks to see if we're the last desktop session for the user at log out time, and if so, restarts the dbus daemon. This will lead to existing clients getting booted and die, but allow user bus clients that want to outlive a session to stick around if they so desire. Longer term, clients should stop relying on the session bus to define their lifetime. https://bugzilla.gnome.org/show_bug.cgi?id=764029 Adapted from https://gitlab.gnome.org/GNOME/gnome-session/commit/97d1cf5
2019-02-04systemd: add api for detecting if this is the last session for a userVictor Kareh2-0/+67
https://bugzilla.gnome.org/show_bug.cgi?id=764029 Adapted from https://gitlab.gnome.org/GNOME/gnome-session/commit/f708bbbf
2019-02-04gsm: Disconnect all dbus clients when dbus is disconnectedVincent Untz1-0/+53
When we receive the Disconnected signal from dbus on the session bus, then we know we won't be able to talk to dbus clients anymore, so mark them as disconnected. Also, do not restart them even if they're supposed to be autorestarted, as we won't be able to track them. At this point, the session is kind of hosed. We could possibly decide to simply leave, but we don't do it in case it's a user session and there's unsaved data. This helps a lot in the case of the gdm greeter, see https://bugzilla.gnome.org/show_bug.cgi?id=658481 Adapted from https://gitlab.gnome.org/GNOME/gnome-session/commit/ae8fa537
2019-02-04manager: don't wait for all clients to exit before exitingRay Strode1-18/+2
If a client gets hung up, we shouldn't hold up going to login screen. It means making a bug in a single client break the desktop. https://bugzilla.gnome.org/show_bug.cgi?id=750508 Adapted from https://gitlab.gnome.org/GNOME/gnome-session/commit/58c9323e
2019-01-30[gsm-autostart-app] Migrate from dbus-glib to gdbusWu Xiaotian1-45/+46
2018-12-15avoid 'gtk_dialog_add_button' with stock idsPablo Barciela3-6/+33
2018-12-10Migrate from dbus-glib to gdbusWu Xiaotian2-92/+96
- mate-session/Makefile.am - mate-session/test-client-dbus.c
2018-11-27gsm-manager: avoid deprecated 'g_settings_list_schemas'Pablo Barciela1-2/+5
2018-11-26Avoid compile warning for g_type_class_add_privateWu Xiaotian24-1053/+1031
- capplet/gsm-app-dialog.c - capplet/gsm-app-dialog.h - capplet/gsm-properties-dialog.c - capplet/gsm-properties-dialog.h - capplet/gsp-app-manager.c - capplet/gsp-app-manager.h - capplet/gsp-app.c - capplet/gsp-app.h - mate-session/gsm-app.c - mate-session/gsm-app.h - mate-session/gsm-autostart-app.c - mate-session/gsm-autostart-app.h - mate-session/gsm-client.c - mate-session/gsm-client.h - mate-session/gsm-consolekit.c - mate-session/gsm-consolekit.h - mate-session/gsm-dbus-client.c - mate-session/gsm-dbus-client.h - mate-session/gsm-inhibit-dialog.c - mate-session/gsm-inhibit-dialog.h - mate-session/gsm-inhibitor.c - mate-session/gsm-inhibitor.h - mate-session/gsm-logout-dialog.c - mate-session/gsm-logout-dialog.h - mate-session/gsm-store.c - mate-session/gsm-store.h - mate-session/gsm-systemd.c - mate-session/gsm-systemd.h - mate-session/gsm-xsmp-client.c - mate-session/gsm-xsmp-client.h - mate-session/gsm-xsmp-server.c - mate-session/gsm-xsmp-server.h
2018-11-26Avoid compile warning for g_type_class_add_privateyetist2-101/+115
Fixes the issue with GLib >= 2.58, list of modified files: - mate-session/gsm-presence.c - mate-session/gsm-presence.h
2018-11-26Avoid compile warning for g_type_class_add_privateyetist2-316/+516
Fixes the issue with GLib >= 2.58, list of modified files: - mate-session/gsm-manager.c - mate-session/gsm-manager.h
2018-11-26Avoid compile warning for g_type_class_add_privateyetist2-64/+37
Fixes the issue with GLib >= 2.58, list of modified files: - mate-session/gs-idle-monitor.c - mate-session/gs-idle-monitor.h
2018-11-26Avoid compile warning for g_type_class_add_privateyetist2-75/+36
Fixes the issue with GLib >= 2.58, list of modified files: - mate-session/mdm-signal-handler.c - mate-session/mdm-signal-handler.h
2018-11-18Only show application name when run with --versionyetist1-1/+1
Run with --version, only show the application name and version, not show the path of program.
2018-06-30replace deprecated gdk_error_trap functionsyetist2-11/+16
2018-02-13avoid deprecated GtkStockPablo Barciela1-2/+2
2018-01-03gsm-manager.c: Fix build warning:Pablo Barciela1-1/+4
ignoring return value of ‘fscanf’, declared with attribute warn_unused_result
2017-10-17don't lose focus when displaying logout or shutdown dialogmonsta1-0/+5
same as done in: https://github.com/mate-desktop/mate-polkit/commit/ed37b52fbfbce5d57d0549fac1a9dca2502f3372 fixes https://github.com/mate-desktop/mate-session-manager/issues/123 fixes https://github.com/mate-desktop/mate-session-manager/issues/140
2017-08-14add style class logout-dialograveit651-0/+4
2017-05-25systemd user-session needs to be updated to get all user-definedBjörn Esser3-6/+133
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
2017-05-25dbus needs to be updated to get all user-defined environment whenBjörn Esser3-29/+99
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
2017-03-05Replace deprecated upower functions with ConsoleKit2 equivalentsSander Sweers5-83/+159
This requires ConsoleKit2 version 0.9.2. + corrections for issues mentioned at https://github.com/mate-desktop/mate-session-manager/pull/133
2017-03-05fix indent a bitmonsta3-79/+79
2017-02-27fix indent of some #if's to match the rest of the filemonsta1-8/+8
2017-01-18build: check stricter for presence of xtransmonsta1-4/+4
this should ensure that mate-session won't listen to TCP ports. if needed, this check can be disabled using --without-xtrans option. fixes https://github.com/mate-desktop/mate-session-manager/issues/131 adapted from: https://git.gnome.org/browse/gnome-session/commit/?id=aa4c9d125012ae94154ce075d62342b63b41a7d9
2016-10-19Also look for gdm-binary processGeorge Vlahavas1-1/+1
In some systems the gdm binary is actually called "gdm-binary", so we need to check for that too.
2016-08-03Fix Gtk-CRITICAL error caused by deprecated coderaveit651-5/+0
It removes the code related to the old dialog icon which is not displayed anymore. The Gtk-CRITICAL error was caused by gtk_message_dialog_get_image returning NULL as it is now deprecated in GTK 3. taken from: https://github.com/linuxmint/cinnamon-session/pull/71
2016-05-17require GTK+ >= 3.14, drop GTK+2 code and --with-gtk build optionmonsta4-95/+0
2016-01-31Adding #include <signal.h> for FreeBSD supportEric Turgeon1-0/+2
2015-12-31mdm: fix logic errormonsta1-1/+1
2015-12-13fix a typo in a warningMonsta1-2/+2
2015-12-13fix logic error that caused a weird build warningMonsta1-1/+1
2015-12-13fix one more build warningMonsta1-1/+2
2015-12-13fix warnings about unused variablesMonsta1-18/+6