Skip to content

Commit

Permalink
v2.3.3 - Clicking on the Album Art desklet updates the image (#6668)
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiux authored Dec 5, 2024
1 parent c86af94 commit 489e4b9
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Radio3.0@claudiux/files/Radio3.0@claudiux/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### v2.3.3~20241205
* Clicking on the Album Art desklet updates the image.

### v2.3.2~20241203
* Redesigned context menu.

Expand Down
3 changes: 3 additions & 0 deletions Radio3.0@claudiux/files/Radio3.0@claudiux/applet.js
Original file line number Diff line number Diff line change
Expand Up @@ -3912,6 +3912,9 @@ class WebRadioReceiverAndRecorder extends TextIconApplet {
//~ let cws = JSON.parse(JSON.stringify(this.categories_with_stations));
//~ logDebug("Nbr of categories: "+Object.keys(cws).length);
//~ logDebug("categories_with_stations: \n"+JSON.stringify(this.categories_with_stations, null, 4));

if (this.desklet_is_activated)
reloadExtension("AlbumArt3.0@claudiux", Type.DESKLET);
}

on_applet_removed_from_panel() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,8 @@ class AlbumArtRadio30 extends Desklet.Desklet {
on_desklet_clicked(event) {
try {
if (event.get_button() == 1) {
this._update();
//~ this._update();
this.on_setting_changed();
} else if (event.get_button() == 2) {
Util.spawn(['xdg-open', this.currentPicture.path]);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"uuid": "AlbumArt3.0@claudiux",
"max-instances": 1,
"name": "Album Art for Radio3.0",
"description": "A digital photo frame desklet to display the Radio3.0 album art",
"icon": "folder-pictures",
Expand Down
2 changes: 1 addition & 1 deletion Radio3.0@claudiux/files/Radio3.0@claudiux/metadata.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"description": "The Ultimate Internet Radio Receiver & Recorder for Cinnamon",
"max-instances": 1,
"version": "2.3.2",
"version": "2.3.3",
"uuid": "Radio3.0@claudiux",
"name": "Radio3.0",
"author": "claudiux",
Expand Down

0 comments on commit 489e4b9

Please sign in to comment.