aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
-rw-r--r--bat_tray.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index a458cb3..f279784 100644
--- a/Makefile
+++ b/Makefile
@@ -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
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 */