aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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).
* rebase code duplicationMike Gabriel2018-03-211-1/+1
|
* 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.
* src/utils.(c|h): Reduce code duplications in desktop env detection code.Mike Gabriel2018-03-212-50/+20
|
* src/service.c: Type-cast assignment from g_object_ref() to avoid ↵Mike Gabriel2018-03-211-1/+1
| | | | incompatible pointer type compiler warning.
* Add XFCE Support.Mike Gabriel2018-03-213-9/+78
| | | | | | | | | | | | * 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.
* Rename GNOMELOCALEDIR -> LOCALEDIR.Mike Gabriel2017-12-062-2/+2
|
* 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-186-93/+159
|
* 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.