Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2dd9ae80ca | ||
|
|
00b30c1a47 | ||
|
|
5f68dd5645 | ||
|
|
752ed054fe | ||
|
|
88c420f8f2 | ||
|
|
0e31708227 | ||
|
|
5ec6daa8e5 |
7
NEWS
7
NEWS
@@ -1,3 +1,10 @@
|
|||||||
|
48.3
|
||||||
|
====
|
||||||
|
* Misc. bug fixes and cleanups [Florian; !409, !411, !405, !413]
|
||||||
|
|
||||||
|
Contributors:
|
||||||
|
Florian Müllner
|
||||||
|
|
||||||
48.2
|
48.2
|
||||||
====
|
====
|
||||||
* windowsNavigator: Fix handling keyboard shortcuts [Daniel; !395]
|
* windowsNavigator: Fix handling keyboard shortcuts [Daniel; !395]
|
||||||
|
|||||||
@@ -488,7 +488,7 @@ class ApplicationsButton extends PanelMenu.Button {
|
|||||||
let id;
|
let id;
|
||||||
try {
|
try {
|
||||||
id = entry.get_desktop_file_id(); // catch non-UTF8 filenames
|
id = entry.get_desktop_file_id(); // catch non-UTF8 filenames
|
||||||
} catch (e) {
|
} catch {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
let app = appSys.lookup_app(id);
|
let app = appSys.lookup_app(id);
|
||||||
|
|||||||
@@ -432,12 +432,10 @@ class BaseButton extends DashItemContainer {
|
|||||||
return this._button.has_style_class_name('focused');
|
return this._button.has_style_class_name('focused');
|
||||||
}
|
}
|
||||||
|
|
||||||
// eslint-disable-next-line camelcase
|
|
||||||
get ignore_workspace() {
|
get ignore_workspace() {
|
||||||
return this._ignoreWorkspace;
|
return this._ignoreWorkspace;
|
||||||
}
|
}
|
||||||
|
|
||||||
// eslint-disable-next-line camelcase
|
|
||||||
set ignore_workspace(ignore) {
|
set ignore_workspace(ignore) {
|
||||||
if (this._ignoreWorkspace === ignore)
|
if (this._ignoreWorkspace === ignore)
|
||||||
return;
|
return;
|
||||||
@@ -983,11 +981,20 @@ class WindowList extends St.Widget {
|
|||||||
() => this._onWorkspaceMenuSet(), this);
|
() => this._onWorkspaceMenuSet(), this);
|
||||||
this._onWorkspaceMenuSet();
|
this._onWorkspaceMenuSet();
|
||||||
|
|
||||||
const chromeOptions = {
|
const inOverview = Main.overview.visible ||
|
||||||
|
(Main.layoutManager._startingUp && Main.sessionMode.hasOverview);
|
||||||
|
|
||||||
|
const overviewChromeOptions = {
|
||||||
affectsStruts: true,
|
affectsStruts: true,
|
||||||
|
};
|
||||||
|
const chromeOptions = {
|
||||||
|
...overviewChromeOptions,
|
||||||
trackFullscreen: true,
|
trackFullscreen: true,
|
||||||
};
|
};
|
||||||
Main.layoutManager.addChrome(this, chromeOptions);
|
Main.layoutManager.addChrome(this, inOverview
|
||||||
|
? overviewChromeOptions
|
||||||
|
: chromeOptions);
|
||||||
|
|
||||||
Main.uiGroup.set_child_above_sibling(this, Main.layoutManager.panelBox);
|
Main.uiGroup.set_child_above_sibling(this, Main.layoutManager.panelBox);
|
||||||
Main.ctrlAltTabManager.addGroup(this, _('Window List'), 'start-here-symbolic');
|
Main.ctrlAltTabManager.addGroup(this, _('Window List'), 'start-here-symbolic');
|
||||||
|
|
||||||
@@ -1024,20 +1031,17 @@ class WindowList extends St.Widget {
|
|||||||
|
|
||||||
Main.overview.connectObject(
|
Main.overview.connectObject(
|
||||||
'showing', () => {
|
'showing', () => {
|
||||||
Main.layoutManager.untrackChrome(this);
|
this._retrackChrome(overviewChromeOptions);
|
||||||
this.hide();
|
this.hide();
|
||||||
this._updateKeyboardAnchor();
|
this._updateKeyboardAnchor();
|
||||||
},
|
},
|
||||||
'hidden', () => {
|
'hidden', () => {
|
||||||
Main.layoutManager.trackChrome(this, chromeOptions);
|
this._retrackChrome(chromeOptions);
|
||||||
this.visible = !this._monitor.inFullscreen;
|
this.visible = !this._monitor.inFullscreen;
|
||||||
this._updateKeyboardAnchor();
|
this._updateKeyboardAnchor();
|
||||||
}, this);
|
}, this);
|
||||||
|
|
||||||
global.display.connectObject('in-fullscreen-changed', () => {
|
global.display.connectObject('in-fullscreen-changed', () => {
|
||||||
// Work-around for initial change from unknown to !fullscreen
|
|
||||||
if (Main.overview.visible)
|
|
||||||
this.hide();
|
|
||||||
this._updateKeyboardAnchor();
|
this._updateKeyboardAnchor();
|
||||||
}, this);
|
}, this);
|
||||||
|
|
||||||
@@ -1103,6 +1107,11 @@ class WindowList extends St.Widget {
|
|||||||
this._monitor.y + this._monitor.height - this.height);
|
this._monitor.y + this._monitor.height - this.height);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_retrackChrome(options) {
|
||||||
|
Main.layoutManager.untrackChrome(this);
|
||||||
|
Main.layoutManager.trackChrome(this, options);
|
||||||
|
}
|
||||||
|
|
||||||
_updateWorkspaceIndicatorVisibility() {
|
_updateWorkspaceIndicatorVisibility() {
|
||||||
let workspaceManager = global.workspace_manager;
|
let workspaceManager = global.workspace_manager;
|
||||||
let hasWorkspaces = this._mutterSettings.get_boolean('dynamic-workspaces') ||
|
let hasWorkspaces = this._mutterSettings.get_boolean('dynamic-workspaces') ||
|
||||||
|
|||||||
@@ -459,8 +459,6 @@ export class WorkspaceIndicator extends PanelMenu.Button {
|
|||||||
this._thumbnails = new WorkspacePreviews();
|
this._thumbnails = new WorkspacePreviews();
|
||||||
container.add_child(this._thumbnails);
|
container.add_child(this._thumbnails);
|
||||||
|
|
||||||
this._workspacesItems = [];
|
|
||||||
|
|
||||||
workspaceManager.connectObject(
|
workspaceManager.connectObject(
|
||||||
'workspace-switched', this._onWorkspaceSwitched.bind(this), GObject.ConnectFlags.AFTER,
|
'workspace-switched', this._onWorkspaceSwitched.bind(this), GObject.ConnectFlags.AFTER,
|
||||||
this);
|
this);
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ rules:
|
|||||||
- error
|
- error
|
||||||
- arrays: always-multiline
|
- arrays: always-multiline
|
||||||
objects: always-multiline
|
objects: always-multiline
|
||||||
|
imports: always-multiline
|
||||||
functions: never
|
functions: never
|
||||||
comma-spacing:
|
comma-spacing:
|
||||||
- error
|
- error
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
project(
|
project(
|
||||||
'gnome-shell-extensions',
|
'gnome-shell-extensions',
|
||||||
version: '48.2',
|
version: '48.3',
|
||||||
meson_version: '>= 1.1.0',
|
meson_version: '>= 1.1.0',
|
||||||
license: 'GPL-2.0-or-later',
|
license: 'GPL-2.0-or-later',
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user