[gnome-battery-bench] gbb monitor: print welcome message
- From: Christian Kellner <gicmo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-battery-bench] gbb monitor: print welcome message
- Date: Mon, 3 Apr 2017 15:38:26 +0000 (UTC)
commit 3b7b430406475cf37fb67ff68729321d119a2402
Author: Christian Kellner <gicmo gnome org>
Date: Wed Mar 29 18:10:23 2017 +0200
gbb monitor: print welcome message
Not only useful for humans, but also to synchronize the tests, i.e.
as an indicator when the monitor binary is started and delivering
notifications.
src/commandline.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/commandline.c b/src/commandline.c
index 9483c79..6e2dc14 100644
--- a/src/commandline.c
+++ b/src/commandline.c
@@ -235,6 +235,7 @@ monitor(int argc, char **argv)
GbbPowerMonitor *monitor;
GMainLoop *loop;
+ g_print("Monitoring power events. Press Ctrl+C to cancel\n");
monitor = gbb_power_monitor_new();
g_signal_connect(monitor, "changed",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]