Skip to content

Commit

Permalink
[Flipper@connerdev] 2.0.1 Fixes (#808)
Browse files Browse the repository at this point in the history
1. Make windows that are 'visible on all workspaces' also visible on the animated workspace clones
2. Use panel APIs to show/hide panels rather than using Clutter APIs against the panels actor (for better compatibility with the Blur Cinnamon extension)
  • Loading branch information
klangman authored Jan 10, 2025
1 parent aaa8bf1 commit bdf3c74
Show file tree
Hide file tree
Showing 19 changed files with 28 additions and 22 deletions.
5 changes: 5 additions & 0 deletions Flipper@connerdev/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 2.0.1

- Make windows that are 'visible on all workspaces' also visible on the animated workspace clones
- Use panel APIs to show/hide panels rather than using Clutter APIs against the panels actor (for better compatibility with the Blur Cinnamon extension)

## 2.0.0

- Added ability to use Flipper effects when changing the workspace via the "Workspace Switcher" applet
Expand Down
9 changes: 5 additions & 4 deletions Flipper@connerdev/files/Flipper@connerdev/5.4/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Flipper.prototype = {
global.window_group.hide();

Main.getPanels().forEach(function(panel){
panel.actor.hide();
panel.disable();
});

if (window && window.get_window_type() !== Meta.WindowType.DESKTOP)
Expand Down Expand Up @@ -316,14 +316,15 @@ Flipper.prototype = {
let windows = global.get_window_actors();
for (let i = 0; i < windows.length; i++) {
let meta_window = windows[i].get_meta_window();
if (meta_window.get_workspace().index() == workspaceIndex &&
if (meta_window && meta_window.get_workspace() &&
(meta_window.get_workspace().index() == workspaceIndex || meta_window.is_on_all_workspaces()) &&
!meta_window.minimized &&
meta_window.get_window_type() !== Meta.WindowType.DESKTOP) {
workspaceWindows.push(meta_window);
}
}

// workspaceWindows.sort(Lang.bind(this, this._sortWindow));
workspaceWindows.sort(Lang.bind(this, this._sortWindow));
return workspaceWindows;
// return workspaceWindows.reverse();
},
Expand Down Expand Up @@ -1513,7 +1514,7 @@ Flipper.prototype = {
Main.uiGroup.remove_actor(this.actor);

Main.getPanels().forEach(function(panel){
panel.actor.show();
panel.enable();
});

global.window_group.show();
Expand Down
2 changes: 1 addition & 1 deletion Flipper@connerdev/files/Flipper@connerdev/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"5.0",
"5.4"
],
"version": "2.0.0",
"version": "2.0.1",
"url": "https://github.com/ConnerHansen/Flipper",
"uuid": "Flipper@connerdev",
"name": "Flipper",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Flipper@connerdev 1.0.6\n"
"Project-Id-Version: Flipper@connerdev 2.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-"
"extensions/issues\n"
"POT-Creation-Date: 2024-12-21 11:12-0500\n"
"POT-Creation-Date: 2025-01-10 00:15-0500\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
Expand Down
2 changes: 1 addition & 1 deletion Flipper@connerdev/files/Flipper@connerdev/po/ca.po
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-"
"extensions/issues\n"
"POT-Creation-Date: 2024-12-21 11:12-0500\n"
"POT-Creation-Date: 2025-01-10 00:15-0500\n"
"PO-Revision-Date: 2024-08-22 01:52+0200\n"
"Last-Translator: Odyssey <[email protected]>\n"
"Language-Team: \n"
Expand Down
2 changes: 1 addition & 1 deletion Flipper@connerdev/files/Flipper@connerdev/po/da.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-"
"extensions/issues\n"
"POT-Creation-Date: 2024-12-21 11:12-0500\n"
"POT-Creation-Date: 2025-01-10 00:15-0500\n"
"PO-Revision-Date: 2017-06-10 17:39+0200\n"
"Last-Translator: Alan Mortensen <[email protected]>\n"
"Language-Team: \n"
Expand Down
2 changes: 1 addition & 1 deletion Flipper@connerdev/files/Flipper@connerdev/po/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-"
"extensions/issues\n"
"POT-Creation-Date: 2024-12-21 11:12-0500\n"
"POT-Creation-Date: 2025-01-10 00:15-0500\n"
"PO-Revision-Date: 2021-03-02 21:09+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
Expand Down
2 changes: 1 addition & 1 deletion Flipper@connerdev/files/Flipper@connerdev/po/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-"
"extensions/issues\n"
"POT-Creation-Date: 2024-12-21 11:12-0500\n"
"POT-Creation-Date: 2025-01-10 00:15-0500\n"
"PO-Revision-Date: 2024-12-21 17:49+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
Expand Down
2 changes: 1 addition & 1 deletion Flipper@connerdev/files/Flipper@connerdev/po/eu.po
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-"
"extensions/issues\n"
"POT-Creation-Date: 2024-12-21 11:12-0500\n"
"POT-Creation-Date: 2025-01-10 00:15-0500\n"
"PO-Revision-Date: 2024-05-30 9:50+1\n"
"Last-Translator: Muxutruk <[email protected]>\n"
"Language-Team: Basque <[email protected]>\n"
Expand Down
2 changes: 1 addition & 1 deletion Flipper@connerdev/files/Flipper@connerdev/po/fi.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgstr ""
"Project-Id-Version: Flipper@connerdev 1.0.3\n"
"Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-"
"extensions/issues\n"
"POT-Creation-Date: 2024-12-21 11:12-0500\n"
"POT-Creation-Date: 2025-01-10 00:15-0500\n"
"PO-Revision-Date: \n"
"Last-Translator: Kimmo Kujansuu <[email protected]>\n"
"Language-Team: \n"
Expand Down
2 changes: 1 addition & 1 deletion Flipper@connerdev/files/Flipper@connerdev/po/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: Flipper@connerdev 1.0.6\n"
"Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-"
"extensions/issues\n"
"POT-Creation-Date: 2024-12-21 11:12-0500\n"
"POT-Creation-Date: 2025-01-10 00:15-0500\n"
"PO-Revision-Date: \n"
"Last-Translator: claudiux\n"
"Language-Team: \n"
Expand Down
2 changes: 1 addition & 1 deletion Flipper@connerdev/files/Flipper@connerdev/po/hu.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-"
"extensions/issues\n"
"POT-Creation-Date: 2024-12-21 11:12-0500\n"
"POT-Creation-Date: 2025-01-10 00:15-0500\n"
"PO-Revision-Date: 2024-10-02 10:07+0200\n"
"Last-Translator: Kálmán „KAMI” Szalai <[email protected]>\n"
"Language-Team: \n"
Expand Down
2 changes: 1 addition & 1 deletion Flipper@connerdev/files/Flipper@connerdev/po/it.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-"
"extensions/issues\n"
"POT-Creation-Date: 2024-12-21 11:12-0500\n"
"POT-Creation-Date: 2025-01-10 00:15-0500\n"
"PO-Revision-Date: 2022-06-03 11:05+0200\n"
"Last-Translator: Dragone2 <[email protected]>\n"
"Language-Team: \n"
Expand Down
2 changes: 1 addition & 1 deletion Flipper@connerdev/files/Flipper@connerdev/po/nl.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-"
"extensions/issues\n"
"POT-Creation-Date: 2024-12-21 11:12-0500\n"
"POT-Creation-Date: 2025-01-10 00:15-0500\n"
"PO-Revision-Date: 2024-09-11 11:33+0200\n"
"Last-Translator: qadzek\n"
"Language-Team: \n"
Expand Down
2 changes: 1 addition & 1 deletion Flipper@connerdev/files/Flipper@connerdev/po/pt_BR.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-"
"extensions/issues\n"
"POT-Creation-Date: 2024-12-21 11:12-0500\n"
"POT-Creation-Date: 2025-01-10 00:15-0500\n"
"PO-Revision-Date: 2021-09-26 21:23-0300\n"
"Last-Translator: Marcelo Aof\n"
"Language-Team: \n"
Expand Down
2 changes: 1 addition & 1 deletion Flipper@connerdev/files/Flipper@connerdev/po/ro.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-"
"extensions/issues\n"
"POT-Creation-Date: 2024-12-21 11:12-0500\n"
"POT-Creation-Date: 2025-01-10 00:15-0500\n"
"PO-Revision-Date: 2022-08-06 01:55+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
Expand Down
2 changes: 1 addition & 1 deletion Flipper@connerdev/files/Flipper@connerdev/po/ru.po
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-"
"extensions/issues\n"
"POT-Creation-Date: 2024-12-21 11:12-0500\n"
"POT-Creation-Date: 2025-01-10 00:15-0500\n"
"PO-Revision-Date: \n"
"Last-Translator: blogdron\n"
"Language-Team: \n"
Expand Down
2 changes: 1 addition & 1 deletion Flipper@connerdev/files/Flipper@connerdev/po/tr.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-"
"extensions/issues\n"
"POT-Creation-Date: 2024-12-21 11:12-0500\n"
"POT-Creation-Date: 2025-01-10 00:15-0500\n"
"PO-Revision-Date: 2021-03-15 20:55+0300\n"
"Last-Translator: Gökhan Gökkaya <[email protected]>\n"
"Language-Team: \n"
Expand Down
2 changes: 1 addition & 1 deletion Flipper@connerdev/files/Flipper@connerdev/po/zh_CN.po
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-"
"extensions/issues\n"
"POT-Creation-Date: 2024-12-21 11:12-0500\n"
"POT-Creation-Date: 2025-01-10 00:15-0500\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
Expand Down

0 comments on commit bdf3c74

Please sign in to comment.