diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-03-15 22:35:37 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-03-15 22:35:37 +0100 |
commit | 9819c2ee11af87fe567a2438e072dfd08774bb3d (patch) | |
tree | f1a2e8def4717f2e6fe0669e00141a1e0997da38 /src/utils.h | |
parent | 32df70ed9a55a9ec66c1689a007df9714bee16f5 (diff) | |
download | ayatana-indicator-power-9819c2ee11af87fe567a2438e072dfd08774bb3d.tar.gz ayatana-indicator-power-9819c2ee11af87fe567a2438e072dfd08774bb3d.tar.bz2 ayatana-indicator-power-9819c2ee11af87fe567a2438e072dfd08774bb3d.zip |
Add fallback code that produces a warning (using zenity), if we don't know how to handle certain actions.
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h index ad32aad..3143625 100644 --- a/src/utils.h +++ b/src/utils.h @@ -18,11 +18,14 @@ #define __INDICATOR_POWER_UTILS_H__ #include <glib.h> +#include <glib/gi18n.h> #include <string.h> void execute_command (const gchar * cmd); void utils_handle_settings_request(void); +gboolean zenity_warning (const char * icon_name, const char * title, const char * text); + gboolean is_unity(); gboolean is_gnome(); gboolean is_mate(); |