diff options
author | David Phillips <david@sighup.nz> | 2018-06-06 22:48:46 +1200 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2018-06-06 22:48:46 +1200 |
commit | 9ddb79b8c53393be5b15170089201b2592533ba4 (patch) | |
tree | f7ab054434b40e88b72ecd03bcb3bb35e1f2bc06 /bat_tray.c | |
parent | 7f6ecb8d49854c8cfe83457c396de622918bbddb (diff) | |
download | paramano-9ddb79b8c53393be5b15170089201b2592533ba4.tar.xz |
Experimentally reduce bat refresh to 10 seconds
Diffstat (limited to 'bat_tray.c')
-rw-r--r-- | bat_tray.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |