aboutsummaryrefslogtreecommitdiff
path: root/bat_tray.c
diff options
context:
space:
mode:
authorDavid Phillips <dbphillipsnz@gmail.com>2015-08-29 00:49:57 +1200
committerDavid Phillips <dbphillipsnz@gmail.com>2015-08-29 00:54:43 +1200
commit266cb3f209e752856b832af008cf7aba40be3cba (patch)
treeacb1020f81be5a30e57f6a6be3bdc49ccb9b9b98 /bat_tray.c
parentb71fdc1baa7aa1f6a8099e6c90929718e282b899 (diff)
downloadparamano-266cb3f209e752856b832af008cf7aba40be3cba.tar.xz
Set battery check interval to 2 minutes rather than 5 seconds
Diffstat (limited to 'bat_tray.c')
-rw-r--r--bat_tray.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bat_tray.c b/bat_tray.c
index cdedf86..e70d47d 100644
--- a/bat_tray.c
+++ b/bat_tray.c
@@ -218,7 +218,7 @@ void bat_tray_init()
free(icon_file);
gtk_status_icon_set_has_tooltip (tray, TRUE);
g_signal_connect(G_OBJECT(tray), "query-tooltip", GTK_SIGNAL_FUNC(show_tooltip), NULL);
- g_timeout_add(5000, update, NULL);
+ g_timeout_add(120000, update, NULL);
/* Force something useful to be in the cached tooltip text,
* force meaningful icon */