projects
/
indicator-lunar-calendar.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
988731c
)
Workaround for issue #1
author
adrianiainlam
<adrianiainlam@gmail.com>
Wed, 11 May 2016 13:18:54 +0000
(14:18 +0100)
committer
adrianiainlam
<adrianiainlam@gmail.com>
Wed, 11 May 2016 13:18:54 +0000
(14:18 +0100)
indicator-lunar-calendar.js
patch
|
blob
|
blame
|
history
diff --git
a/indicator-lunar-calendar.js
b/indicator-lunar-calendar.js
index
64fb0ea
..
ea4470f
100755
(executable)
--- a/
indicator-lunar-calendar.js
+++ b/
indicator-lunar-calendar.js
@@
-74,6
+74,14
@@
function update_indicator() {
indicator.set_icon(__dirname + '/icons/' + lunar.zodiac + '.svg');
indicator.set_label(compact_date, '');
item.set_label(long_date);
indicator.set_icon(__dirname + '/icons/' + lunar.zodiac + '.svg');
indicator.set_label(compact_date, '');
item.set_label(long_date);
+
+ console.log('Indicator updated. ' + lunar.hour + ' Time: ' + new Date());
+ /* DO NOT REMOVE THE ABOVE LINE.
+ * I have no absolutely no idea why but the indicator doesn't get
+ * updated if this line is removed.
+ * It wasn't needed though before implementing the DBus section below.
+ * So perhaps some kind of conflict between the two?
+ */
}
var job = new CronJob({
}
var job = new CronJob({