Skip to content

Commit

Permalink
[CassiaWindowList@klangman] 2.3.5 Fix for UI scale changes (linuxmint…
Browse files Browse the repository at this point in the history
…#6450)

1. Fix the number bubble showing up incorrectly after changing the UI scale settings in display setting application.
2. Add a 2nd setting of the "runWizard" to "0" (this time in the window-list Javascript code rather than just in the wizard python code) to try an ensure that the welcome wizard does not reappear after a restart (I had a report of this happening but couldn't get to the bottom of why it occurred).
  • Loading branch information
klangman authored Sep 28, 2024
1 parent 985d034 commit 399f363
Show file tree
Hide file tree
Showing 12 changed files with 405 additions and 400 deletions.
5 changes: 5 additions & 0 deletions CassiaWindowList@klangman/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 2.3.5

* Fix for the "number bubble" showing up incorrectly after changing the UI scale settings in display setting application.
* Add a 2nd layer of code to try and ensure that the "Welcome Wizard" dialog does not reappear after a restart

## 2.3.4

* Saves new default thumbnail window sizes (adjusted using the mouse scroll-wheel) across cinnamon restarts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,6 @@ const ICON_NAMES = {
writer: 'x-office-document'
}

const majorVersion = parseInt(Config.PACKAGE_VERSION.substring(0,1));

// The possible user setting for the caption contents
const CaptionType = {
Name: 0, // Caption is set to the Application Name (i.e. Firefox)
Expand Down Expand Up @@ -5369,10 +5367,12 @@ class WindowList extends Applet.Applet {
this._signalManager.connect(this._settings, "changed::show-windows-for-all-workspaces", this._onShowOnAllWorkspacesChanged, this);
this._signalManager.connect(this._settings, "changed::number-of-unshrunk-previews", this._updateGlobalPreviewSize, this);
this._signalManager.connect(this._settings, "settings-changed", this._onSettingsChanged, this);
this._signalManager.connect(global, "scale-changed", this._updateCurrentWorkspace, this);

if (this._settings.getValue("runWizard")===1) {
let command = GLib.get_home_dir() + "/.local/share/cinnamon/applets/" + this._uuid + "/setupWizard " + this._uuid + " " + this.instance_id;
Util.spawnCommandLineAsync(command);
this._settings.setValue("runWizard", 0);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"max-instances": -1,
"multiversion": true,
"role": "panellauncher",
"version": "2.3.4",
"version": "2.3.5",
"author": "klangman"
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: CassiaWindowList@klangman 2.3.4\n"
"Project-Id-Version: CassiaWindowList@klangman 2.3.5\n"
"Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-applets/"
"issues\n"
"POT-Creation-Date: 2024-09-15 16:02-0400\n"
"POT-Creation-Date: 2024-09-28 12:56-0400\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
Expand All @@ -17,32 +17,32 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#. 4.0/applet.js:583 6.0/applet.js:583
#. 4.0/applet.js:581 6.0/applet.js:581
msgid "all buttons"
msgstr ""

#. 4.0/applet.js:3174 6.0/applet.js:3174
#. 4.0/applet.js:3172 6.0/applet.js:3172
msgid "Applet Preferences"
msgstr ""

#. 4.0/applet.js:3178 6.0/applet.js:3178
#. 4.0/applet.js:3176 6.0/applet.js:3176
msgid "About..."
msgstr ""

#. 4.0/applet.js:3182 6.0/applet.js:3182
#. 4.0/applet.js:3180 6.0/applet.js:3180
msgid "Configure..."
msgstr ""

#. 4.0/applet.js:3186 6.0/applet.js:3186
#. 4.0/applet.js:3184 6.0/applet.js:3184
msgid "Website"
msgstr ""

#. 4.0/applet.js:3190 6.0/applet.js:3190
#. 4.0/applet.js:3188 6.0/applet.js:3188
#, javascript-format
msgid "Remove '%s'"
msgstr ""

#. 4.0/applet.js:3192 6.0/applet.js:3192
#. 4.0/applet.js:3190 6.0/applet.js:3190
msgid "Do you really want to remove this instance of CassiaWindowList?"
msgstr ""

Expand All @@ -58,75 +58,75 @@ msgstr ""
#. 6.0->settings-schema.json->mouse-action-btn2->options
#. 6.0->settings-schema.json->mouse-action-btn8->options
#. 6.0->settings-schema.json->mouse-action-btn9->options
#. 4.0/applet.js:3201 6.0/applet.js:3201
#. 4.0/applet.js:3199 6.0/applet.js:3199
msgid "Open new window"
msgstr ""

#. 4.0/applet.js:3209 6.0/applet.js:3209
#. 4.0/applet.js:3207 6.0/applet.js:3207
msgid "Remove from panel"
msgstr ""

#. 4.0/applet.js:3211 6.0/applet.js:3211
#. 4.0/applet.js:3209 6.0/applet.js:3209
msgid "Remove from this workspace"
msgstr ""

#. 4.0/applet.js:3217 6.0/applet.js:3217
#. 4.0/applet.js:3215 6.0/applet.js:3215
msgid "Pin to panel"
msgstr ""

#. 4.0/applet.js:3219 6.0/applet.js:3219
#. 4.0/applet.js:3217 6.0/applet.js:3217
msgid "Pin to this workspace"
msgstr ""

#. 4.0/applet.js:3260 6.0/applet.js:3260
#. 4.0/applet.js:3258 6.0/applet.js:3258
msgid "Pin to other workspaces"
msgstr ""

#. 4.0/applet.js:3281 6.0/applet.js:3281
#. 4.0/applet.js:3279 6.0/applet.js:3279
msgid "Pin to all workspaces"
msgstr ""

#. 4.0/applet.js:3299 6.0/applet.js:3299
#. 4.0/applet.js:3297 6.0/applet.js:3297
msgid "Pin to launcher"
msgstr ""

#. 4.0/applet.js:3317 4.0/applet.js:3520 6.0/applet.js:3317 6.0/applet.js:3520
#. 4.0/applet.js:3315 4.0/applet.js:3518 6.0/applet.js:3315 6.0/applet.js:3518
msgid "Add new Hotkey for"
msgstr ""

#. 4.0/applet.js:3331 6.0/applet.js:3331
#. 4.0/applet.js:3329 6.0/applet.js:3329
msgid "Recent files"
msgstr ""

#. 4.0/applet.js:3355 6.0/applet.js:3355
#. 4.0/applet.js:3353 6.0/applet.js:3353
msgid "Places"
msgstr ""

#. 4.0/applet.js:3396 6.0/applet.js:3396
#. 4.0/applet.js:3394 6.0/applet.js:3394
msgid "Always on top"
msgstr ""

#. 4.0/applet.js:3408 6.0/applet.js:3408
#. 4.0/applet.js:3406 6.0/applet.js:3406
msgid "Only on this workspace"
msgstr ""

#. 4.0/applet.js:3410 6.0/applet.js:3410
#. 4.0/applet.js:3408 6.0/applet.js:3408
msgid "Visible on all workspaces"
msgstr ""

#. 4.0/applet.js:3411 6.0/applet.js:3411
#. 4.0/applet.js:3409 6.0/applet.js:3409
msgid "Move to another workspace"
msgstr ""

#. 4.0/applet.js:3420 6.0/applet.js:3420
#. 4.0/applet.js:3418 6.0/applet.js:3418
msgid " (this workspace)"
msgstr ""

#. 4.0/applet.js:3433 6.0/applet.js:3433
#. 4.0/applet.js:3431 6.0/applet.js:3431
msgid "Move to another monitor"
msgstr ""

#. 4.0/applet.js:3441 6.0/applet.js:3441
#. 4.0/applet.js:3439 6.0/applet.js:3439
msgid "Monitor"
msgstr ""

Expand All @@ -142,47 +142,47 @@ msgstr ""
#. 6.0->settings-schema.json->mouse-action-btn2->options
#. 6.0->settings-schema.json->mouse-action-btn8->options
#. 6.0->settings-schema.json->mouse-action-btn9->options
#. 4.0/applet.js:3458 6.0/applet.js:3458
#. 4.0/applet.js:3456 6.0/applet.js:3456
msgid "Move window here"
msgstr ""

#. 4.0/applet.js:3475 6.0/applet.js:3475
#. 4.0/applet.js:3473 6.0/applet.js:3473
msgid "unassigned"
msgstr ""

#. 4.0/applet.js:3486 4.0/applet.js:3517 6.0/applet.js:3486 6.0/applet.js:3517
#. 4.0/applet.js:3484 4.0/applet.js:3515 6.0/applet.js:3484 6.0/applet.js:3515
msgid "Assign window to a hotkey"
msgstr ""

#. 4.0/applet.js:3540 6.0/applet.js:3540
#. 4.0/applet.js:3538 6.0/applet.js:3538
msgid "Change application label contents"
msgstr ""

#. 4.0/applet.js:3543 6.0/applet.js:3543
#. 4.0/applet.js:3541 6.0/applet.js:3541
msgid "Remove custom setting"
msgstr ""

#. 4.0/applet.js:3550 6.0/applet.js:3550
#. 4.0/applet.js:3548 6.0/applet.js:3548
msgid "Use window title"
msgstr ""

#. 4.0/applet.js:3557 6.0/applet.js:3557
#. 4.0/applet.js:3555 6.0/applet.js:3555
msgid "Use application name"
msgstr ""

#. 4.0/applet.js:3564 6.0/applet.js:3564
#. 4.0/applet.js:3562 6.0/applet.js:3562
msgid "No label"
msgstr ""

#. 4.0/applet.js:3575 6.0/applet.js:3575
#. 4.0/applet.js:3573 6.0/applet.js:3573
msgid "Ungroup application windows"
msgstr ""

#. 4.0/applet.js:3584 6.0/applet.js:3584
#. 4.0/applet.js:3582 6.0/applet.js:3582
msgid "Group application windows"
msgstr ""

#. 4.0/applet.js:3597 6.0/applet.js:3597
#. 4.0/applet.js:3595 6.0/applet.js:3595
msgid "Automatic grouping/ungrouping"
msgstr ""

Expand All @@ -198,31 +198,31 @@ msgstr ""
#. 6.0->settings-schema.json->mouse-action-btn2->options
#. 6.0->settings-schema.json->mouse-action-btn8->options
#. 6.0->settings-schema.json->mouse-action-btn9->options
#. 4.0/applet.js:3627 6.0/applet.js:3627
#. 4.0/applet.js:3625 6.0/applet.js:3625
msgid "Move titlebar on to screen"
msgstr ""

#. 4.0/applet.js:3632 6.0/applet.js:3632
#. 4.0/applet.js:3630 6.0/applet.js:3630
msgid "Restore"
msgstr ""

#. 4.0/applet.js:3636 6.0/applet.js:3636
#. 4.0/applet.js:3634 6.0/applet.js:3634
msgid "Minimize"
msgstr ""

#. 4.0/applet.js:3642 6.0/applet.js:3642
#. 4.0/applet.js:3640 6.0/applet.js:3640
msgid "Unmaximize"
msgstr ""

#. 4.0/applet.js:3649 6.0/applet.js:3649
#. 4.0/applet.js:3647 6.0/applet.js:3647
msgid "Close others"
msgstr ""

#. 4.0/applet.js:3660 6.0/applet.js:3660
#. 4.0/applet.js:3658 6.0/applet.js:3658
msgid "Close all"
msgstr ""

#. 4.0/applet.js:3669 6.0/applet.js:3669
#. 4.0/applet.js:3667 6.0/applet.js:3667
msgid "Close"
msgstr ""

Expand Down
Loading

0 comments on commit 399f363

Please sign in to comment.