summaryrefslogtreecommitdiff
path: root/mate-session
AgeCommit message (Collapse)AuthorFilesLines
2014-11-04manager: track full details of logout requestinfirit1-31/+42
When we get a logout request, there are two bits of information that come with the request: 1) Whether or not we should seek confirmation by default from the user before proceeding 2) Whether or not individual applications should be given an opportunity to ask us to seek confirmation from the user before proceeding. We track the latter in a boolean state variable (forceful_logout), but not the former. We already have an enumeration type (GsmManagerLogoutMode) that can be used to track both bits, though. This commit changes the boolean state variable to the enum type, so the whether-we-should-confirmation information is available deeper down in the logout process. Based on gnome-session commit: d7adaa9111d0f42d11225c7e29a7ee1d37d74d2f From: Ray Strode <[email protected]>
2014-11-04manager: don't ever show inhibitor dialog if logout is forcedinfirit1-3/+21
If logout is forced, we don't want to show the inhibitor dialog. A forced logout is one that shouldn't be "cancelable". This commit prevents inhibitors from getting added if logout is forced. Based on gnome-session commit: bf1b6e8843b5e72d4f5a62a34eb322b82e33c2df From: Ray Strode <[email protected]>
2014-11-04manager: remove client from query clients list on disconnectinfirit1-6/+47
When the session manager enters the query end session phase, it temporarily adds all clients to the "query clients" list. This list is used to track the progression of clients quitting. If a client quits during the query end session phase instead of waiting until the end session phase, then it will get destroyed but not get removed from the query clients list. This commit removes it from the query clients list in this case. It does this by explicitly invoking the end session response handler (in effect, the client responded to the end session query by exiting). based on gnome-session commit: 8e6afcf1789c02692cf3b1ff3ee0a792d57e17a3 From: Ray Strode <[email protected]>
2014-11-04Use resizable property instead of allow-grow allow-shrinkinfirit1-2/+1
2014-11-04gsettings: stop using g_settings_list_schemas()infirit1-22/+20
Based on gnome-session commit: 880379a8dd7181351ba49c579a5278d19eadc6b3 From Ryan Lortie <[email protected]>
2014-09-29Set XDG_CURRENT_DESKTOP if unsetDenis Gorodnichev1-0/+3
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
2014-07-12Add mate-desktop as dependency and use function from thereStefano Karapetsas1-36/+3
2014-07-12Add ability to enable/disable debug with GSettingsStefano Karapetsas1-0/+58
2014-07-08Add key in GSettings schema to set logout timeout in secondsStefano Karapetsas1-10/+22
0 disables timeout
2014-07-01Drop support for Glib < 2.36infirit1-4/+0
2014-07-01restore DISPLAY variableDenis Gorodnichev1-0/+1
2014-05-20Use gdk_display* functions for both gtk+2 and gtk+3infirit2-21/+0
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
2014-05-20Always use g_spawn_command_line_syncinfirit1-12/+0
2014-05-20Remove all calls to gtk_dialog_set_has_separatorinfirit1-3/+0
2014-04-30Revert "Allow to build with upower 0.99"Stefano Karapetsas2-10/+10
This reverts commit 80be90bb422ef8cb5a28c7ff3fe2a337dce8c368.
2014-04-22Allow to build with upower 0.99Stefano Karapetsas2-10/+10
2014-04-08Update org.mate.SessionManager.xmlikem-krueger1-1/+1
Fixed a typo.
2014-03-27Fix progress bar usage with GTK3Stefano Karapetsas1-0/+3
2014-03-09Add autostart of accessibility appsStefano Karapetsas1-0/+69
2014-02-18fix gtk3 warningsDenis Gorodnichev3-1/+15
2014-02-17Show a progress bar in logout dialogStefano Karapetsas1-21/+27
2013-11-14Merge pull request #39 from NiceandGently/dev-GTK3Stefano Karapetsas2-2/+16
GTK3: fix some compile warnings
2013-11-14GTK3: Fix compile warning by using gdk_error_trap_pop_ignored()raveit652-2/+16
2013-11-07Make upower optionalStefano Karapetsas3-18/+44
This commit is just an improved version of the pull request by Wolfgang Ulbrich at https://github.com/mate-desktop/mate-session-manager/pull/38 making it working with both upower and systemd, and improving configure part
2013-10-31session: support_autostart_delayraveit655-8/+85
2013-10-26Add GTK3 support to gnome keyring moduleStefano Karapetsas1-0/+10
2013-10-26Merge branch 'dev-gnome-keyring'Stefano Karapetsas4-0/+284
2013-10-15Fix return value in void functionsStefano Karapetsas1-4/+4
2013-10-15Fix g_type_init deprecationStefano Karapetsas1-0/+2
2013-10-15Systemd support: session_id is char*, not intScott Balneaves1-2/+10
2013-10-15Add code to start gnome-keyring with proper env varsStefano Karapetsas4-0/+284
Code comes from xfce4-session
2013-09-12fix systemd-login1 support for hibernate/suspendraveit654-2/+195
2013-07-26mate-session: Add support for GTK3Stefano Karapetsas3-40/+89
2013-07-11Fix tabsStefano Karapetsas1-4/+4
2013-07-10Drop sd-daemon.h and libsystemd-daemon dependency, no longer usedFabio Erculiani3-3/+0
2013-07-10Use LOGIND_RUNNING() rather than sd_booted()Fabio Erculiani4-13/+16
2013-05-24Initialize gsettings before starting mate-session-managerScott Balneaves1-0/+29
2013-04-13Use synchronous DBus call to switch user in LightDMStefano Karapetsas1-8/+7
2013-04-13Add support to switch user with LightDMStefano Karapetsas1-19/+67
http://bazaar.launchpad.net/~lightdm-team/lightdm/trunk/view/head:/utils/gdmflexiserver Closes #22 (https://github.com/mate-desktop/mate-session-manager/issues/22)
2013-03-22Increase phase timeout to 30 secondsStefano Karapetsas1-1/+1
2013-03-07Remove a wrong g_free in systemd codeStefano Karapetsas1-2/+0
2013-03-05Add initial systemd supportStefano Karapetsas6-38/+1213
2012-12-03Merge pull request #13 from leigh123linux/masterStefano Karapetsas1-2/+17
Add autostart condition through GSettings
2012-11-26fix screensaver gschema usageStefano Karapetsas1-2/+28
close https://github.com/mate-desktop/mate-desktop/issues/38
2012-11-24Add autostart condition through GSettingsleigh123linux1-2/+17
2012-11-14Possible patch for https://github.com/mate-desktop/mate-session-manager/issues/8Scott Balneaves1-1/+11
2012-11-13Fix all compile warnings.Scott Balneaves8-17/+65
2012-10-12fix incorrect FSF addressraveit6541-68/+68
2012-10-02migrate to gsettingsmate-session-manager-1.5.0Stefano Karapetsas8-438/+147
2012-05-10Fixed reboot/shutdown issue.Steve Zesch3-0/+64