aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* src/service.c: Boolean values need to be upper-case.Mike Gabriel2024-02-161-1/+1
|
* src/service.c: Use !rda_session_is_remote() rather than rda_session_is_local().Mike Gabriel2024-02-051-1/+1
| | | | | | | | | | | | | When using rda_session_is_local() you really get the answer you are asking for: the desktop session runs on a local XDG_SEAT. However, we'd rather like to know: is the session remote. If not let's treat what we are in as local. This popped up in build chrooted environments where XDG_SEAT is undefined, but still: we are definitely not in a remote session. Fixes: https://github.com/AyatanaIndicators/ayatana-indicator-session/issues/90
* src/service.c: Initialize bLocal as true if building without RDA support.Mike Gabriel2023-11-181-0/+2
| | | | This assumes that the session is always local.
* src/backend-dbus/actions.c: Switch to ayatana_common_utils_zenity_questionRobert Tari2023-11-041-85/+31
|
* src/service.c: Add formatted string to menuRobert Tari2023-11-041-2/+2
|
* src/service.c: In remote session, show remote technology name in menu item ↵Mike Gabriel2023-11-041-1/+3
| | | | label.
* src/service.c: Rename onRemoteSuspend -> on_remote_suspend (better matching ↵Mike Gabriel2023-11-021-2/+2
| | | | with other function names).
* src/service.c: White-space fix.Mike Gabriel2023-11-021-1/+1
|
* {CMakeLists.txt,src/service.c}: Make building against librda optional.Mike Gabriel2023-11-021-1/+11
|
* Add remote session detection/terminationRobert Tari2023-09-101-24/+66
| | | | fixes https://github.com/AyatanaIndicators/ayatana-indicator-session/issues/13
* Add custom label to admin sectionRobert Tari2023-06-061-1/+28
|
* Add options to hide items in the admin sectionRobert Tari2023-04-271-22/+61
|
* src/service.c: Add ellipsis to desktop help.Mike Gabriel2023-02-271-1/+1
| | | | Signed-off-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
* src/{service.c,dbus-backends/actions.c}: Special treatment if running in an ↵Mike Gabriel2023-02-273-21/+48
| | | | | | Ubuntu Touch session for desktop help, distro help and bug reporting URL. Signed-off-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
* src/utils.c: Code formatting change (no-op change) in get_desktop_name().Mike Gabriel2023-02-271-3/+4
| | | | Signed-off-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
* src/utils.(c|h): Add get_desktop_session() helper function.Mike Gabriel2023-02-272-0/+25
| | | | 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
* src/service.c: Add tooltip to indicatorRobert Tari2022-07-131-0/+1
|
* src/service.c: don't try to show any lockscreen shortcut on LomiriRatchanan Srirattanamet2022-06-231-9/+8
| | | | | | | | | | | | | | Lomiri itself doesn't read any schema for the lockscreen [1]. It also won't show the "accel" or shortcut property of a GMenuItem [2]. Thus, I think it's not worth it to add a schema in lomiri-schemas just to be ignored by Lomiri both ways. As such, remove the functionality to read a shortcut for lockscreen on Lomiri. While we're at it, also make sure that `p->keybinding_settings` is initialized even if it's on non of the recognized DE. [1] https://gitlab.com/ubports/development/core/lomiri/-/blob/main/qml/Components/Dialogs.qml#L121-124 [2] https://gitlab.com/ubports/development/core/lomiri/-/blob/main/qml/Panel/Indicators/IndicatorMenuItemFactory.qml
* src/service.c: Read Lomiri's lockscreen shortcut from lomiri-schemasRobert Tari2022-03-081-7/+16
|
* Drop pkglibexecdir and use native CMake file configurationRobert Tari2022-02-111-1/+1
|
* src/service.c: Fix the Desktop Help stringRobert Tari2022-01-271-1/+1
|
* Read org.gnome.settings-daemon.plugins.media-keys screensaver as a listRobert Tari2022-01-271-3/+16
|
* Fix code to build with -WerrorRobert Tari2022-01-271-3/+3
|
* 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
|
* Update Ayatana IDO namesRobert Tari2021-09-201-2/+2
|
* src/CMakeLists.txt: Drop unused URL_DISPATCHER codeRobert Tari2021-08-281-5/+1
|
* src/service.c: Add System title to the headerRobert Tari2021-08-281-0/+3
|
* 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
* Only use Lomiri schema if it's installed to avoid hard dependencyMichael Terry2021-06-221-19/+33
|
* change the About string only for u8Lukáš Tinkl2021-06-221-1/+7
| | | | would be confusing for u7/desktop and need a string freeze exception at this point
* open https://forums.ubports.com under LomiriLukáš Tinkl2021-06-221-0/+2
|
* use ellipsis and convergence friendly "about" captionLukáš Tinkl2021-06-221-2/+2
|
* plug a memleakLukáš Tinkl2021-06-221-0/+3
|
* add "Desktop mode" switch for LomiriLukáš Tinkl2021-06-221-2/+73
|
* Convert testing and coverage reporting to cmake-extras styleRobert Tari2021-06-112-11/+1
| | | | fixes https://github.com/AyatanaIndicators/ayatana-indicator-session/issues/34
* Move common parts over to libayatana-common and clean upMarius Gripsgard2021-05-254-391/+88
| | | | | | | | 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-014-1/+65
| | | | Fixes AyatanaIndicators/ayatana-indicator-session#2
* src/utils.c: Try to use SUPPORT_URL in get_distro_urlRobert Tari2021-03-011-2/+11
| | | | fixes #24
* Whitespace fixRobert Tari2021-03-011-2/+2
|
* Switch from URL Dispatcher to Lomiri URL Dispatcher.Mike Gabriel2021-02-021-5/+5
|
* src/service.c: Fix suppression of Logout item.Robert Tari2020-09-051-0/+2
| | | | | Fixes AyatanaIndicators/ayatana-indicator-session#12. Depends on AyatanaIndicators/libayatana-indicator#25.
* Fix deprecations and build warningsRobert Tari2020-08-248-47/+23
|
* Whitespace fixRobert Tari2020-08-243-118/+118
|
* Replace x-canonical attributesRobert Tari2020-08-111-8/+8
|
* Add 'Report a bug...' item to the session menu.Mike Gabriel2018-03-256-0/+72
|
* Reintroduce optional url-dispatcher support.Mike Gabriel2018-03-252-1/+24
|