aboutsummaryrefslogtreecommitdiff
path: root/src/backend-dbus
Commit message (Collapse)AuthorAgeFilesLines
* src/backend-dbus/actions.c: Use is_mate() from src/utils.c to check if we ↵Mike Gabriel2017-07-211-8/+3
| | | | are running inside a MATE desktop session.
* my_distro_help(): Be less Debian-centric and detect other browser, if ↵Mike Gabriel2017-07-211-1/+38
| | | | x-www-browser does not exist.
* Provide to 'Help' menu items. One for Distro Help, one for Desktop Help.Mike Gabriel2017-07-181-2/+10
|
* Add full MATE session support.Martin Wimpress2017-07-171-46/+60
| | | | | | | | | | | | | | | This changeset adds the remaining support for MATE Desktop. When MATE is the desktop session: * "About This Computer" launches `mate-system-monitor --show-system-tab` * "<distro> Help..." launches the MATE User Guide. * "System Settings..." launches `mate-control-center` * "Lock/Switch Account..." invokes `mate-screensaver-command --lock` `have_mate_program()` checks that the active session is MATE and the required program exists, making this a safe mechanism to launch `"yelp help:mate-user-guide` specifically for MATE and fall through the just `yelp` on the other desktop environments.
* Revert "DBus actions: Add support for logging out via GNOME/MATE session ↵Mike Gabriel2017-07-171-15/+0
| | | | | | manager." This reverts commit 938988360da9c79a1c2904bca1249c16a59cfe3f.
* DBus actions: Add support for logging out via GNOME/MATE session manager.Mike Gabriel2017-06-091-0/+15
|
* backend-dbus/actions.c: Mention MATE session proxy in error msg.Mike Gabriel2017-05-301-1/+1
|
* backend-dbus/actions.c: Improve comment.Mike Gabriel2017-05-301-1/+1
|
* src/utils.[ch]: Make desktop env checks available globally, load MSD media ↵Mike Gabriel2017-05-302-64/+2
| | | | keys settings, if in MATE environment.
* desktop env awareness: Make session indicator aware of the MATE desktop ↵Mike Gabriel2017-05-301-3/+157
| | | | environment. Report to the user, if a desktop env is unknown (e.g. when the user wants to open the system settings dialog, etc.).
* Don't use PROMPT_WITH_AYATANA for detecting the session type, ask ↵Mike Gabriel2017-05-301-19/+27
| | | | XDG_CURRENT_DESKTOP instead.
* Rename PROMPT_WITH_UNITY to PROMPT_WITH_AYATANA, meaning the ↵Mike Gabriel2017-05-301-6/+6
| | | | org.ayatana.Desktop DBus session bus.
* Things are not that simple... Complete previous commit, now switch to ↵Mike Gabriel2017-05-302-26/+26
| | | | org.ayatana.Desktop Dbus session bus name complete.
* De-Canonical'ize: Rename DBus bus com.canonical.Unity to org.ayatana.Desktop.Mike Gabriel2017-05-233-5/+5
|
* Fork from Ubuntu's indicator-session project.Mike Gabriel2015-11-143-18/+10
|
* under unity8 start system-settings instead unity-control-centerSebastien Bacher2015-08-271-3/+10
|
* Support multiple names in XDG_CURRENT_DESKTOP.Dmitry Shachnev2014-11-301-1/+17
|
* Make Cancel button in Zenity backend work againDmitry Shachnev2014-08-311-5/+1
|
* If we try to prompt for confirmation using unity but the EndSessionDialog ↵Charles Kerr2014-06-181-1/+11
| | | | errors out, treat that as confirmation. Otherwise how will a user ever log out?
* If we try to prompt for confirmation with zenity but zenity fails to run, ↵Charles Kerr2014-06-181-3/+10
| | | | treat that as confirmation. Otherwise how will a user ever log out?
* try to log out with com.canonical.Unity.Session's RequestLogout. If that ↵Charles Kerr2014-04-111-28/+93
| | | | fails, fall back to org.gnome.SessionManager's Logout.
* DBusActions: use if/else instead of returning in lock_current_sessionMarco Trevisan (Treviño)2014-04-101-5/+5
|
* ScreenSaver API: add SimulateUserActivity backMarco Trevisan (Treviño)2014-04-101-0/+3
|
* actions: cleanup spacingMarco Trevisan (Treviño)2014-04-101-1/+0
|
* actions: add have_unity_session to check if unity is currently running and ↵Marco Trevisan (Treviño)2014-04-102-15/+25
| | | | exporting his session bus
* Actions: lock current session also when switching to greeter and another userMarco Trevisan (Treviño)2014-04-101-0/+4
|
* Actions: add Unity session proxy, and use to lock the screen if availableMarco Trevisan (Treviño)2014-04-103-4/+69
|
* Only run unity-control-center under unityRobert Ancell2014-01-221-0/+3
|
* Use unity-control-center if it is availableRobert Ancell2014-01-101-3/+25
|
* copyediting: remove unnecessary comment that snuck into r406Charles Kerr2013-08-201-1/+0
|
* fix minor GCancellable memory leak noticed while fixing 1205273Charles Kerr2013-08-201-1/+1
|
* when switching to the guest session, explicitly lock the current users's sessionCharles Kerr2013-08-201-1/+10
|
* add the online-accounts action and unit tests for itCharles Kerr2013-07-121-0/+10
|
* If the Unity dialogs aren't available (such as in the greeter) but zenity ↵Charles Kerr2013-07-121-53/+261
| | | | | | | | | | is, use it to for confirmation dialogs: - add the implementation in actions.c - add actions.c to the i18n files list - sync the unit tests - suggest zenity in debian/control
* just to be safe, check to see that g_getenv('XDG_SEAT') passes tooCharles Kerr2013-07-101-8/+12
|
* If g_getenv(XDG_SEAT_PATH) fails, don't try to get the DisplayManager seat. ↵Charles Kerr2013-07-101-9/+16
| | | | Fixes the greeter issue reported by seb128
* in cmake files, limit scopes by moving single-target properties out of the ↵Charles Kerr2013-07-011-0/+2
| | | | global variables to single-target ones and moving single-use includes into the directories where they're used
* in src/backend-dbus/users.c, use a helper struct for disconnecting the ↵Charles Kerr2013-07-011-49/+45
| | | | signals to the user proxies in our uid-to-user hashtable
* in src/backend-dbus/users.c's object_unref_and_disconnect(), fix an ↵Charles Kerr2013-07-011-1/+2
| | | | unbalanced ref/unref
* in src/backend-dbus/users.c's track_user(), simplify the ref/unref semantics ↵Charles Kerr2013-07-011-5/+6
| | | | of the user argument
* in src/backend-dbus/users.c, use G_DEFINE_QUARK() instead of rolling our own ↵Charles Kerr2013-07-011-13/+4
| | | | quark func
* in src/backend-dbus/users.c's set_logins(), fix ref/unref semantics of the ↵Charles Kerr2013-07-011-1/+2
| | | | hashtable argument
* in src/backend-dbus/guest.c's on_login1_manager_session_list_ready(), remove ↵Charles Kerr2013-07-011-3/+2
| | | | unused variable 'path'
* in backend-dbus/actions.c, create a separate cancellable for dm_seat s.t. ↵Charles Kerr2013-07-011-6/+16
| | | | new calls to set_dm_seat() will cancel any previous async calls pending on the old DisplayManager seat object.
* in backend-dbus/actions.c, create a separate cancellable for login1_manager ↵Charles Kerr2013-07-011-7/+31
| | | | s.t. new calls to set_login1_manager() will cancel any previous async calls pending on the old login1 manager object.
* in backend-dbus/actions.c's set_dm_seat(), since we don't listen to ↵Charles Kerr2013-07-011-9/+2
| | | | displaymanager's signals anymore, remove unnecessary g_signal_handlers_disconnect() call.
* in backend-dbus/actions.c's set_login1_seat(), disconnect from the previous ↵Charles Kerr2013-07-011-2/+7
| | | | seat's signals before unreff'ing it
* cleanup: put an '.xml' file suffix at the end of the DisplayManager.Seat xml ↵Charles Kerr2013-06-282-1/+1
| | | | file
* update comments & documentation to reflect that we've replaced consolekit ↵Charles Kerr2013-06-283-3/+3
| | | | and login1
* finish up backend-dbus/users.c: fix an unref bug when creating user proxies. ↵Charles Kerr2013-06-281-64/+54
| | | | fix an async race condition where we emitted change events for users before their proxy objects had finished being asynchronously constructed.