aboutsummaryrefslogtreecommitdiff
path: root/src/backend-dbus
Commit message (Collapse)AuthorAgeFilesLines
* Actions: add force-restart-menuitem option to make it visible in any ↵Marco Trevisan (Treviño)2021-06-221-0/+5
| | | | | | environments Basically it allows to see the "Reboot..." option when indicator-session is in unity
* Ensure we request the UI to verify restart availability when unity proxy ↵Marco Trevisan (Treviño)2021-06-221-0/+3
| | | | connects/disconnects
* open https://forums.ubports.com under LomiriLukáš Tinkl2021-06-221-0/+2
|
* Convert testing and coverage reporting to cmake-extras styleRobert Tari2021-06-111-5/+0
| | | | fixes https://github.com/AyatanaIndicators/ayatana-indicator-session/issues/34
* Move common parts over to libayatana-common and clean upMarius Gripsgard2021-05-251-316/+77
| | | | | | | | This moves some common functions over to libayatana-common, this also removes the direct need for any ayatana indicators to depend on url-dispatcher as this will be handeled by libayatana-common. This also cleans up a pretty messy code and removes many duplicates.
* Add Budgie support.Robert Tari2021-05-011-1/+53
| | | | Fixes AyatanaIndicators/ayatana-indicator-session#2
* Switch from URL Dispatcher to Lomiri URL Dispatcher.Mike Gabriel2021-02-021-5/+5
|
* Fix deprecations and build warningsRobert Tari2020-08-246-36/+18
|
* Whitespace fixRobert Tari2020-08-242-2/+2
|
* Add 'Report a bug...' item to the session menu.Mike Gabriel2018-03-251-0/+33
|
* Reintroduce optional url-dispatcher support.Mike Gabriel2018-03-251-0/+19
|
* src/backend-dbus/actions.c: Show warnings if no web browser is installed ↵Mike Gabriel2018-03-211-0/+8
| | | | (for distro help and XFCE desktop help).
* my_desktop_help(): Don't always fallback to empty yelp call, rather show a ↵Mike Gabriel2018-03-211-2/+19
| | | | warning that we don't know how to access the currently running desktop's user guide or help center.
* Add XFCE Support.Mike Gabriel2018-03-211-9/+56
| | | | | | | | | | | | * Check if XDG_CURRENT_DESKTOP is set to XFCE. * Use xfce4-session-logout as logout/reboot/shutdown prompt. * Use xfce4-settings-manager for 'Settings...'. * Use xflock4 to attept a session lock. * Use xfce4-about for info about this computer (not fully appropriate but XFCE does not have any appropriate equivalent as found in GNOME or MATE). Fixes AyatanaIndicators/ayatana-indicator-session#1.
* 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