forked from linuxmint/cinnamon-spices-applets
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Applets Cinnamon 6.4 improvements (linuxmint#6753)
* sound150 v7.5.0: Improved management of loops for Cinnamon 6.4 * Radio3.0 v2.7.1: Improved management of loops and desklet for Cinnamon 6.4 * SpicesUpdate v7.5.0: Improved management of loops * VPN-Sentinel v2.3.1: Minor change in FileInfo.js
- Loading branch information
Showing
18 changed files
with
325 additions
and
210 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
Radio3.0@claudiux/files/Radio3.0@claudiux/lib/sourceExists.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
const GLib = imports.gi.GLib; | ||
|
||
function source_exists(id) { | ||
let _id = id; | ||
if (!_id) return false; | ||
return (GLib.MainContext.default().find_source_by_id(_id) != null); | ||
} | ||
|
||
function timeout_exists(id) { | ||
if (!id) return false; | ||
if (!id.source_id) return false; | ||
return (GLib.MainContext.default().find_source_by_id(id.source_id) != null); | ||
} | ||
|
||
function interval_exists(id) { | ||
return timeout_exists(id); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.