diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/notifier.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/notifier.c b/src/notifier.c index 81cd6f1..9835d4f 100644 --- a/src/notifier.c +++ b/src/notifier.c @@ -25,8 +25,6 @@ #include <glib/gi18n.h> -#define HINT_INTERACTIVE "x-canonical-switch-to-application" - typedef enum { POWER_LEVEL_CRITICAL, @@ -99,7 +97,7 @@ power_level_to_dbus_string (const PowerLevel power_level) } } -PowerLevel +static PowerLevel get_battery_power_level (IndicatorPowerDevice * battery) { static const double percent_critical = 2.0; @@ -178,7 +176,6 @@ notification_show(IndicatorPowerNotifier * self) body = g_strdup_printf(_("%.0f%% charge remaining"), pct); nn = notify_notification_new(_("Battery Low"), body, NULL); g_free (body); - /*notify_notification_set_hint(nn, HINT_INTERACTIVE, g_variant_new_boolean(TRUE));*/ /* if we can show it, keep it */ error = NULL; |