Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| aa8c38a1d1 | |||
| f6f867a8c9 | |||
| 57dde50df3 | |||
| 62dfc2c415 | |||
| 4be569660b | |||
| bc136c600d | |||
| c501931155 | |||
| f53c8fd4bc | |||
| d7db924424 | |||
| 71e78265d5 | |||
| fa5c4bade1 | |||
| a7d4d8df80 | |||
| 791682e836 |
+2
-2
@@ -3,8 +3,8 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
include:
|
include:
|
||||||
- remote: 'https://gitlab.gnome.org/Infrastructure/freedesktop-ci-templates/-/raw/bbe5232986c9b98eb1efe62484e07216f7d1a4df/templates/fedora.yml'
|
- remote: 'https://gitlab.gnome.org/Infrastructure/freedesktop-ci-templates/-/raw/master/templates/fedora.yml'
|
||||||
- remote: "https://gitlab.gnome.org/Infrastructure/freedesktop-ci-templates/-/raw/bc70242ffb8402243e934659ecc1a2d1c89eca2b/templates/ci-fairy.yml"
|
- remote: "https://gitlab.gnome.org/Infrastructure/freedesktop-ci-templates/-/raw/master/templates/ci-fairy.yml"
|
||||||
- component: gitlab.gnome.org/GNOME/citemplates/release-service@master
|
- component: gitlab.gnome.org/GNOME/citemplates/release-service@master
|
||||||
inputs:
|
inputs:
|
||||||
job-stage: deploy
|
job-stage: deploy
|
||||||
|
|||||||
@@ -1,3 +1,25 @@
|
|||||||
|
47.6
|
||||||
|
====
|
||||||
|
* Misc. bug fixes and cleanups [Florian; !409, !411, !405, !413]
|
||||||
|
|
||||||
|
Contributors:
|
||||||
|
Florian Müllner
|
||||||
|
|
||||||
|
47.5
|
||||||
|
====
|
||||||
|
* Allow disabling the X11 session [Neal; !396, !400]
|
||||||
|
|
||||||
|
Contributors:
|
||||||
|
Neal Gompa
|
||||||
|
|
||||||
|
47.4
|
||||||
|
====
|
||||||
|
* window-list: Fix regression in chrome tracking [Florian; !379]
|
||||||
|
* Misc. bug fixes and cleanups [Florian; !376]
|
||||||
|
|
||||||
|
Contributors:
|
||||||
|
Florian Müllner
|
||||||
|
|
||||||
47.3
|
47.3
|
||||||
====
|
====
|
||||||
* places-menu: Fix opening drives with mount operations [Florian; !361]
|
* places-menu: Fix opening drives with mount operations [Florian; !361]
|
||||||
|
|||||||
+7
-2
@@ -2,14 +2,19 @@
|
|||||||
#
|
#
|
||||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
have_x11 = get_option('x11')
|
||||||
|
|
||||||
session_desktop_base = 'gnome-classic'
|
session_desktop_base = 'gnome-classic'
|
||||||
|
|
||||||
session_desktops = [
|
session_desktops = [
|
||||||
session_desktop_base,
|
session_desktop_base,
|
||||||
session_desktop_base + '-xorg',
|
|
||||||
session_desktop_base + '-wayland',
|
session_desktop_base + '-wayland',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if have_x11
|
||||||
|
session_desktops += [session_desktop_base + '-xorg']
|
||||||
|
endif
|
||||||
|
|
||||||
foreach name : session_desktops
|
foreach name : session_desktops
|
||||||
session_desktop = name + '.desktop'
|
session_desktop = name + '.desktop'
|
||||||
if name.endswith('-xorg')
|
if name.endswith('-xorg')
|
||||||
@@ -21,7 +26,7 @@ foreach name : session_desktops
|
|||||||
# There is a workaround in meson/session-post-install.py until proper
|
# There is a workaround in meson/session-post-install.py until proper
|
||||||
# solution arises:
|
# solution arises:
|
||||||
# https://github.com/mesonbuild/meson/issues/2416
|
# https://github.com/mesonbuild/meson/issues/2416
|
||||||
session_instdir = xsessiondir
|
session_instdir = wlsessiondir
|
||||||
#session_instdir = [ xesssiondir, wlsessiondir ]
|
#session_instdir = [ xesssiondir, wlsessiondir ]
|
||||||
endif
|
endif
|
||||||
i18n.merge_file(
|
i18n.merge_file(
|
||||||
|
|||||||
@@ -495,7 +495,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);
|
||||||
|
|||||||
@@ -226,12 +226,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;
|
||||||
@@ -772,11 +770,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');
|
||||||
|
|
||||||
@@ -813,20 +820,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);
|
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);
|
||||||
|
|
||||||
@@ -881,6 +885,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
|
||||||
|
|||||||
+9
-5
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
project(
|
project(
|
||||||
'gnome-shell-extensions',
|
'gnome-shell-extensions',
|
||||||
version: '47.3',
|
version: '47.6',
|
||||||
meson_version: '>= 1.1.0',
|
meson_version: '>= 1.1.0',
|
||||||
license: 'GPL-2.0-or-later',
|
license: 'GPL-2.0-or-later',
|
||||||
)
|
)
|
||||||
@@ -31,6 +31,8 @@ shell_version = ver_arr[0]
|
|||||||
|
|
||||||
uuid_suffix = '@gnome-shell-extensions.gcampax.github.com'
|
uuid_suffix = '@gnome-shell-extensions.gcampax.github.com'
|
||||||
|
|
||||||
|
have_x11 = get_option('x11')
|
||||||
|
|
||||||
classic_extensions = [
|
classic_extensions = [
|
||||||
'apps-menu',
|
'apps-menu',
|
||||||
'places-menu',
|
'places-menu',
|
||||||
@@ -86,10 +88,12 @@ endforeach
|
|||||||
|
|
||||||
if classic_mode_enabled
|
if classic_mode_enabled
|
||||||
subdir('data')
|
subdir('data')
|
||||||
meson.add_install_script(
|
if have_x11
|
||||||
'meson/session-post-install.py',
|
meson.add_install_script(
|
||||||
join_paths(get_option('prefix'), datadir),
|
'meson/session-post-install.py',
|
||||||
)
|
join_paths(get_option('prefix'), datadir),
|
||||||
|
)
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
subdir('extensions')
|
subdir('extensions')
|
||||||
|
|||||||
@@ -20,3 +20,9 @@ option('classic_mode',
|
|||||||
value: false,
|
value: false,
|
||||||
description: 'Enable installing data files for classic mode.'
|
description: 'Enable installing data files for classic mode.'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
option('x11',
|
||||||
|
type: 'boolean',
|
||||||
|
value: true,
|
||||||
|
description: 'Enable X11 session support.'
|
||||||
|
)
|
||||||
|
|||||||
@@ -15,10 +15,10 @@ else:
|
|||||||
|
|
||||||
# FIXME: Meson is unable to copy a generated target file:
|
# FIXME: Meson is unable to copy a generated target file:
|
||||||
# https://groups.google.com/forum/#!topic/mesonbuild/3iIoYPrN4P0
|
# https://groups.google.com/forum/#!topic/mesonbuild/3iIoYPrN4P0
|
||||||
dst_dir = os.path.join(install_root, 'wayland-sessions')
|
dst_dir = os.path.join(install_root, 'xsessions')
|
||||||
if not os.path.exists(dst_dir):
|
if not os.path.exists(dst_dir):
|
||||||
os.makedirs(dst_dir)
|
os.makedirs(dst_dir)
|
||||||
|
|
||||||
src = os.path.join(install_root, 'xsessions', 'gnome-classic.desktop')
|
src = os.path.join(install_root, 'wayland-sessions', 'gnome-classic.desktop')
|
||||||
dst = os.path.join(dst_dir, 'gnome-classic.desktop')
|
dst = os.path.join(dst_dir, 'gnome-classic.desktop')
|
||||||
shutil.copyfile(src, dst)
|
shutil.copyfile(src, dst)
|
||||||
|
|||||||
Reference in New Issue
Block a user