diff options
author | David Phillips <dbphillipsnz@gmail.com> | 2015-08-29 00:49:57 +1200 |
---|---|---|
committer | David Phillips <dbphillipsnz@gmail.com> | 2015-08-29 00:54:43 +1200 |
commit | 266cb3f209e752856b832af008cf7aba40be3cba (patch) | |
tree | acb1020f81be5a30e57f6a6be3bdc49ccb9b9b98 | |
parent | b71fdc1baa7aa1f6a8099e6c90929718e282b899 (diff) | |
download | paramano-266cb3f209e752856b832af008cf7aba40be3cba.tar.xz |
Set battery check interval to 2 minutes rather than 5 seconds
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | bat_tray.c | 2 |
2 files changed, 4 insertions, 4 deletions
@@ -26,7 +26,7 @@ DEFS += -DPREFIX=\"$(PREFIX)\" \ -D_GNU_SOURCE -DEPS = bat_tray.h \ +DEPS += bat_tray.h \ common.h \ config_file.h \ defaults.h \ @@ -38,7 +38,7 @@ DEPS = bat_tray.h \ tray.h \ paramano_set_interface.h -CFLAGS = -I/usr/include/gtk-2.0 \ +CFLAGS += -I/usr/include/gtk-2.0 \ -I/usr/lib/gtk-2.0/include \ -I/usr/include/pango-1.0 \ -I/usr/include/cairo \ @@ -61,7 +61,7 @@ CFLAGS = -I/usr/include/gtk-2.0 \ -Werror \ -D_=gettext -LDFLAGS = -lgtk-3 \ +LDFLAGS += -lgtk-3 \ -lgobject-2.0 \ -lglib-2.0 @@ -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 */ |