aboutsummaryrefslogtreecommitdiff
path: root/src/backend-dbus/actions.c
Commit message (Collapse)AuthorAgeFilesLines
* 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-301-63/+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-301-24/+24
| | | | org.ayatana.Desktop Dbus session bus name complete.
* De-Canonical'ize: Rename DBus bus com.canonical.Unity to org.ayatana.Desktop.Mike Gabriel2017-05-231-3/+3
|
* Fork from Ubuntu's indicator-session project.Mike Gabriel2015-11-141-13/+6
|
* 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
|
* 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-101-12/+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-101-3/+52
|
* 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
* 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
* in actions.c's my_can_prompt(), don't leak the string returned by ↵Charles Kerr2013-06-271-3/+10
| | | | g_dbus_proxy_get_name_owner
* only show the restart or hibernate menuitems if login1 says these features ↵Charles Kerr2013-06-271-4/+2
| | | | are available
* migrate from consolekit to login1Charles Kerr2013-06-241-94/+86
|
* in our async callbacks, don't call g_warning() if the task was cancelled by ↵Charles Kerr2013-06-191-10/+3
| | | | the client
* port indicator-session to GMenu/cmake. Code coverage increased from 0% to 95.4%.Charles Kerr2013-03-221-0/+730