aboutsummaryrefslogtreecommitdiff
path: root/src/utils.h
Commit message (Collapse)AuthorAgeFilesLines
* src/utils.(ch): Drop local zenity_warning and use libayatana-common.Robert Tari2021-05-041-2/+0
| | | | Fixes AyatanaIndicators/ayatana-indicator-power#20
* Add us to the copyright headersRobert Tari2021-05-031-0/+1
|
* Move redundant code portions into libayatana-common and build against it.Robert Tari2021-05-031-7/+0
|
* src/utils.(c|h): Use XDG_CURRENT_DESKTOP for XFCE as well, in order to ↵Mike Gabriel2018-03-211-0/+1
| | | | detect that -power indicator is used on an XFCE desktop.
* Add fallback code that produces a warning (using zenity), if we don't know ↵Mike Gabriel2018-03-151-0/+3
| | | | how to handle certain actions.
* src/utils.c: Add is_pantheon() function.Mike Gabriel2018-03-151-0/+1
|
* src/utils.(c|h): Port is_{mate,gnome,unity}() functions from -session indicator.Mike Gabriel2018-03-121-0/+4
|
* Make URL dispatcher build-dependency optional and handle battery settings ↵Mike Gabriel2018-03-121-0/+26
request appropriately.