aboutsummaryrefslogtreecommitdiff
path: root/bat_tray.c
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2018-06-06 22:48:46 +1200
committerDavid Phillips <david@sighup.nz>2018-06-06 22:48:46 +1200
commit9ddb79b8c53393be5b15170089201b2592533ba4 (patch)
treef7ab054434b40e88b72ecd03bcb3bb35e1f2bc06 /bat_tray.c
parent7f6ecb8d49854c8cfe83457c396de622918bbddb (diff)
downloadparamano-9ddb79b8c53393be5b15170089201b2592533ba4.tar.xz
Experimentally reduce bat refresh to 10 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 48a8488..70d3abd 100644
--- a/bat_tray.c
+++ b/bat_tray.c
@@ -209,7 +209,7 @@ void bat_tray_init()
gtk_status_icon_set_from_file(tray, 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(120000, update, NULL);
+ g_timeout_add(10000, update, NULL);
/* trigger icon refresh in update() below */
old_rounded = get_bat_percent_rounded() - 1;