aboutsummaryrefslogtreecommitdiff
path: root/src/utils.c
Commit message (Collapse)AuthorAgeFilesLines
* src/{service.c,dbus-backends/actions.c}: Special treatment if running in an ↵Mike Gabriel2023-02-271-18/+33
| | | | | | 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-271-0/+24
| | | | Signed-off-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
* Move common parts over to libayatana-common and clean upMarius Gripsgard2021-05-251-50/+0
| | | | | | | | 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/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
|
* Add 'Report a bug...' item to the session menu.Mike Gabriel2018-03-251-0/+18
|
* rebase code duplicationMike Gabriel2018-03-211-1/+1
|
* src/utils.(c|h): Reduce code duplications in desktop env detection code.Mike Gabriel2018-03-211-50/+11
|
* Add XFCE Support.Mike Gabriel2018-03-211-0/+21
| | | | | | | | | | | | * 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.
* Provide to 'Help' menu items. One for Distro Help, one for Desktop Help.Mike Gabriel2017-07-181-0/+110
|
* src/utils.[ch]: Make desktop env checks available globally, load MSD media ↵Mike Gabriel2017-05-301-0/+80
keys settings, if in MATE environment.