Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Radio3.0@claudiux] v2.6.0: Improved functioning #6743

Merged
merged 1 commit into from
Jan 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.6.0~20250106
* Improved functioning (start-up).

### v2.5.11~20250105
* Improved functioning.

Expand Down
20 changes: 12 additions & 8 deletions Radio3.0@claudiux/files/Radio3.0@claudiux/applet.js
Original file line number Diff line number Diff line change
Expand Up @@ -1747,7 +1747,8 @@ class WebRadioReceiverAndRecorder extends TextIconApplet {
this.actor.set_opacity(255);
this.set_color();
}
this.actor.queue_relayout();
if (this.actor.get_stage() != null)
this.actor.queue_relayout();
}

set_radio_hashtable() {
Expand Down Expand Up @@ -4098,7 +4099,7 @@ class WebRadioReceiverAndRecorder extends TextIconApplet {
this.onShortcutChanged();
clearTimeout(to);
},
300
2100
);

if (this.desklet_is_activated)
Expand Down Expand Up @@ -4486,7 +4487,7 @@ class WebRadioReceiverAndRecorder extends TextIconApplet {
reloadExtension(UUID, Type.APPLET);
clearTimeout(to);
},
300
600
);
}

Expand Down Expand Up @@ -5888,24 +5889,27 @@ class WebRadioReceiverAndRecorder extends TextIconApplet {
if (maximize_vertically) {
var app = null;
var intervalId = null;
intervalId = setInterval(() => {
//~ intervalId = setInterval(() => {
intervalId = setTimeout(() => {
app = this.tracker.get_app_from_pid(pid);
if (app != null) {
let window = app.get_windows()[0];
this.settingsTab = tab;
//window.default_width = 1000;
//window.default_height = 600;
// window.resize(QUEUE, 1000, 600); // Obsolete.

window.maximize(VERTICAL);
window.activate(300);
this.settingsWindow = window;

clearInterval(intervalId);
return false;
//~ clearInterval(intervalId);
clearTimeout(intervalId);
//~ return false;
} else {
return true
//~ return true
}
}, 100);
}, 600);
}

// Returns the pid:
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.5.11",
"version": "2.6.0",
"uuid": "Radio3.0@claudiux",
"name": "Radio3.0",
"author": "claudiux",
Expand Down
Loading