diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-05-25 13:56:39 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-05-25 15:05:32 +0200 |
commit | 9fc7eaadbf24f1091b89b1c4c6bda382456b7537 (patch) | |
tree | 2c5690cb7b928384fb3c2e79c2a7f5ee556d4b56 /src/utils.h | |
parent | 3989df8c9102fe761c1815fa4be2d8414d766e55 (diff) | |
download | libayatana-common-9fc7eaadbf24f1091b89b1c4c6bda382456b7537.tar.gz libayatana-common-9fc7eaadbf24f1091b89b1c4c6bda382456b7537.tar.bz2 libayatana-common-9fc7eaadbf24f1091b89b1c4c6bda382456b7537.zip |
src/utils.(ch): Add ayatana_common_utils_have_*_program() functions used in session indicator.
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h index 7301499..0fa643b 100644 --- a/src/utils.h +++ b/src/utils.h @@ -36,6 +36,13 @@ gboolean ayatana_common_utils_is_xfce(); gboolean ayatana_common_utils_is_pantheon(); gboolean ayatana_common_utils_is_budgie(); +gboolean ayatana_common_utils_have_unity_program (const gchar *program); +gboolean ayatana_common_utils_have_gnome_program (const gchar *program); +gboolean ayatana_common_utils_have_mate_program (const gchar *program); +gboolean ayatana_common_utils_have_xfce_program (const gchar *program); +gboolean ayatana_common_utils_have_pantheon_program (const gchar *program); +gboolean ayatana_common_utils_have_budgie_program (const gchar *program); + gboolean ayatana_common_utils_execute_command(const gchar * cmd); gboolean ayatana_common_utils_open_url(const gchar * url); gboolean ayatana_common_utils_have_program(const gchar * program); |