summaryrefslogtreecommitdiff
path: root/mate-session
AgeCommit message (Collapse)AuthorFilesLines
2023-10-03updatewip/gdbusXiaotian Wu2-0/+10
2023-10-03updateXiaotian Wu2-130/+92
2023-10-03xXiaotian Wu1-17/+25
2023-10-03updateWu Xiaotian1-157/+261
2023-10-03updateWu Xiaotian3-202/+245
2023-10-03gdbusWu Xiaotian2-3/+4
2023-10-03updateWu Xiaotian18-1138/+773
2023-09-04Revert "gsm-manager: use g_settings_schema_source_lookup ()"zhuyaliang1-8/+16
This reverts commit 92c9a82105b222a934e994a87738673351ad33ee. Fix https://github.com/mate-desktop/mate-session-manager/issues/308
2023-05-21main: fix double free on gl_rendererJan Palus1-1/+0
Fixes: 1263384 ("mate-session: fix memory leak") Fixes: #304
2023-04-21gsm-manager: use g_settings_schema_source_lookup ()rbuj1-16/+8
2023-04-20gsm-inhibit-dialog: Fix -Wimplicit-int-float-conversion warningsrbuj1-2/+2
2023-04-16Fix implicit conversion changes signedness: 'gboolean' to 'guint'rbuj3-3/+3
2023-04-16mate-session: fix memory leakrbuj2-7/+12
2021-11-24Use a blank line at mostrbuj19-39/+0
2021-06-22update copyright to 2021raveit6545-0/+45
2021-04-22Follow freedesktop guidelines to disable autorun using Hidden keyrbuj2-11/+0
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