From 9819c2ee11af87fe567a2438e072dfd08774bb3d Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Thu, 15 Mar 2018 22:35:37 +0100 Subject: Add fallback code that produces a warning (using zenity), if we don't know how to handle certain actions. --- src/utils.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/utils.h') 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 +#include #include 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(); -- cgit v1.2.3