Merging upstream version 20230205.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
5278491731
commit
4f2ad4e96b
131 changed files with 11978 additions and 2 deletions
26
extensions/vertical-workspaces/iconGrid.js
Normal file
26
extensions/vertical-workspaces/iconGrid.js
Normal file
|
@ -0,0 +1,26 @@
|
|||
/**
|
||||
* Vertical Workspaces
|
||||
* iconGrid.js
|
||||
*
|
||||
* @author GdH <G-dH@github.com>
|
||||
* @copyright 2022 - 2023
|
||||
* @license GPL-3.0
|
||||
*
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
// ------------------ IconGrid - override -------------------------------------------------------------------------
|
||||
|
||||
// workaround - silence page -2 error on gnome 43 during cleaning appgrid
|
||||
|
||||
var IconGrid = {
|
||||
getItemsAtPage: function(page) {
|
||||
if (page < 0 || page > this.nPages)
|
||||
return [];
|
||||
//throw new Error(`Page ${page} does not exist at IconGrid`);
|
||||
|
||||
const layoutManager = this.layout_manager;
|
||||
return layoutManager.getItemsAtPage(page);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue