aboutsummaryrefslogtreecommitdiff
path: root/src/backend-dbus
Commit message (Collapse)AuthorAgeFilesLines
* src/backend-dbus/actions.c: Switch to ayatana_common_utils_zenity_questionRobert Tari2023-11-041-85/+31
|
* src/{service.c,dbus-backends/actions.c}: Special treatment if running in an ↵Mike Gabriel2023-02-271-1/+3
| | | | | | Ubuntu Touch session for desktop help, distro help and bug reporting URL. Signed-off-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
* src/dbus-backend/actions.c: Return 'lomiri.com' as Lomiri URL (instead of ↵Mike Gabriel2023-02-271-1/+1
| | | | | | UBports Forum). Signed-off-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
* UnitySession -> LomiriSession: Re-rename related changes that we erroneously ↵Mike Gabriel2023-02-133-47/+48
| | | | | | | | | | | | | | | | | | | | | | hid away as Ayatana DesktopSession. This brings full Lomiri integration finally. Until now, the session indicator somehow seemed to work, but in some odd ways. On the phone, the session indicator would fallback to direct systemd interaction while on Lomiri in Debian, it would fallback to Zenity dialogs (most of all because Zenity got installed by some other package as a dependency). With this massive renaming change, ayatana-indicator-session should now smoothly interact with the com.lomiri.Shell.Session DBus interface and also with the mimicked GNOME SessionManager End-Session-Dialog interface. As a downside, this change nearly fully removes Unity7 support which would need to be brought back +/- as a full duplicate of what we do for Lomiri. But as noone has dared integrating Ayatana Indicator Session with Unity7, so far, we should be able to live with that for now. Fixes https://github.com/AyatanaIndicators/ayatana-indicator-session/issues/82
* Use Ayatana as mock userRobert Tari2021-11-031-1/+3
|
* src/backend-dbus/actions.c: Replace deprecated g_spawn_check_exit_statusRobert Tari2021-10-211-1/+5
|
* 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
|