Skip to content

Commit 4806ad9

Browse files
committed
Set GLib.PRIORITY_LOW
1 parent 04e58ad commit 4806ad9

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

extension.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class Extension {
4141
// log('Setting Seasonal hour');
4242
updateHour();
4343

44-
this._updateInterval = GLib.timeout_add_seconds(GLib.PRIORITY_DEFAULT, 10, () => {
44+
this._updateInterval = GLib.timeout_add_seconds(GLib.PRIORITY_LOW, 10, () => {
4545
// log('Updated Seasonal hour');
4646
updateHour();
4747
return GLib.SOURCE_CONTINUE;

seasonalhours.js

-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
* This clock was created by [@cinnamon-bun](https://github.com/cinnamon-bun). We miss you.
66
*/
77

8-
// Any imports this module needs itself must also be imported here
9-
const ExtensionUtils = imports.misc.extensionUtils;
10-
const Me = ExtensionUtils.getCurrentExtension();
118

129
/*
1310
Pretend that each 24 hour period is actually an entire year with seasons.

0 commit comments

Comments
 (0)