projects
/
psensor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
699c43d
)
display notification when alert is enabled and not when graph is draw
author
Jean-Philippe Orsini
<jeanfi@gmail.com>
Mon, 30 Apr 2012 09:46:06 +0000
(09:46 +0000)
committer
Jean-Philippe Orsini
<jeanfi@gmail.com>
Mon, 30 Apr 2012 09:46:06 +0000
(09:46 +0000)
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index
6ed42c5
..
61b920d
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-241,7
+241,7
@@
gboolean ui_refresh_thread(gpointer data)
static void cb_alarm_raised(struct psensor *sensor, void *data)
{
#ifdef HAVE_LIBNOTIFY
- if (sensor->enabled)
+ if (sensor->
alarm_
enabled)
ui_notify(sensor, (struct ui_psensor *)data);
#endif
}