aboutsummaryrefslogtreecommitdiff
path: root/src/service.c
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/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-271-2/+12
| | | | | | Ubuntu Touch session for desktop help, distro help and bug reporting URL. Signed-off-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
* 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
|
* 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
|
* Update Ayatana IDO namesRobert Tari2021-09-201-2/+2
|
* src/service.c: Add System title to the headerRobert Tari2021-08-281-0/+3
|
* 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
* 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
|
* Move common parts over to libayatana-common and clean upMarius Gripsgard2021-05-251-9/+11
| | | | | | | | 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-0/+5
| | | | Fixes AyatanaIndicators/ayatana-indicator-session#2
* 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-241-9/+3
|
* Replace x-canonical attributesRobert Tari2020-08-111-8/+8
|
* Add 'Report a bug...' item to the session menu.Mike Gabriel2018-03-251-0/+10
|
* src/service.c: Type-cast assignment from g_object_ref() to avoid ↵Mike Gabriel2018-03-211-1/+1
| | | | incompatible pointer type compiler warning.
* Provide to 'Help' menu items. One for Distro Help, one for Desktop Help.Mike Gabriel2017-07-181-87/+19
|
* src/utils.[ch]: Make desktop env checks available globally, load MSD media ↵Mike Gabriel2017-05-301-1/+8
| | | | keys settings, if in MATE environment.
* switch back to x-canonical-typeMike Gabriel2017-05-171-3/+3
|
* Use x-ayatanaindicator-* instead of x-canonical-*/x-ayatana-*.Mike Gabriel2015-11-161-3/+3
|
* Fork from Ubuntu's indicator-session project.Mike Gabriel2015-11-141-6/+6
|
* Disable shutdown/reboot in the lockscreen.Andrea Azzarone andrea.azzarone@canonical.com2015-06-041-9/+11
|
* if someone has control codes in their real name, who are we do disagree?Charles Kerr2015-03-251-1/+1
|
* use unichar rather than asciiCharles Kerr2015-03-251-6/+9
|
* in get_user_label(), don't dereference a NULL real_name pointerCharles Kerr2015-03-251-5/+11
|
* Hide relevant items from session indicator when org.gnome.desktop.lockdown ↵Robert Ancell2014-07-181-15/+30
|\ | | | | | | | | | | disable-lock-screen or disable-user-switching are set to match 12.04 LTS behaviour Fixes: 1325353 Approved by: Charles Kerr, PS Jenkins bot
| * Hide relevant items from session indicator when org.gnome.desktop.lockdown ↵Robert Ancell2014-07-111-15/+30
| | | | | | | | disable-lock-screen or disable-user-switching are set to match 12.04 LTS behaviour
* | use g_shell_unquote() to unmunge the values in /etc/os-releaseCharles Kerr2014-07-161-17/+16
| |
* | tweak unescape comment for readabilityCharles Kerr2014-07-161-1/+1
| |
* | make the os-release parser slightly more readable.Charles Kerr2014-07-161-25/+22
| |
* | make the os-release parser slightly less unreadable.Charles Kerr2014-07-161-13/+12
| |
* | better i18n markup of the help stringCharles Kerr2014-07-161-1/+1
| |
* | don't mark 'Ubuntu' for translation.Charles Kerr2014-07-161-1/+1
| |