i9c-beta
changed/i9c-beta/gnome-shell-extensions-40.7-12.el9
parent
c04a34ed43
commit
e73c6256dd
@ -0,0 +1,39 @@
|
|||||||
|
From b9ba6b8708c18fb14033150fdb02a508457e0a17 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
|
||||||
|
Date: Fri, 2 Feb 2024 15:39:32 +0100
|
||||||
|
Subject: [PATCH] classification-banner: Hide from picks
|
||||||
|
|
||||||
|
Banners are laid out via a fullscreen actor. While the actor is
|
||||||
|
not reactive, it can still interfere with picks (for example
|
||||||
|
during drag-and-drop operations).
|
||||||
|
|
||||||
|
Avoid that by explicitly hiding the actor from picks.
|
||||||
|
---
|
||||||
|
extensions/classification-banner/extension.js | 4 +++-
|
||||||
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/extensions/classification-banner/extension.js b/extensions/classification-banner/extension.js
|
||||||
|
index ea788022..2bde741e 100644
|
||||||
|
--- a/extensions/classification-banner/extension.js
|
||||||
|
+++ b/extensions/classification-banner/extension.js
|
||||||
|
@@ -18,7 +18,7 @@
|
||||||
|
|
||||||
|
/* exported init */
|
||||||
|
|
||||||
|
-const { Clutter, Gio, GLib, GObject, St } = imports.gi;
|
||||||
|
+const { Clutter, Gio, GLib, GObject, Shell, St } = imports.gi;
|
||||||
|
|
||||||
|
const ExtensionUtils = imports.misc.extensionUtils;
|
||||||
|
const Layout = imports.ui.layout;
|
||||||
|
@@ -34,6 +34,8 @@ class ClassificationBanner extends Clutter.Actor {
|
||||||
|
});
|
||||||
|
this._monitorConstraint = constraint;
|
||||||
|
|
||||||
|
+ Shell.util_set_hidden_from_pick(this, true);
|
||||||
|
+
|
||||||
|
this._settings = ExtensionUtils.getSettings();
|
||||||
|
this.connect('destroy', () => {
|
||||||
|
if (this._fullscreenChangedId)
|
||||||
|
--
|
||||||
|
2.43.0
|
||||||
|
|
@ -0,0 +1,33 @@
|
|||||||
|
From b48dae39341a3ba24eb3d142f99eb37d6b14ab41 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
|
||||||
|
Date: Thu, 2 Nov 2023 20:51:45 +0100
|
||||||
|
Subject: [PATCH] desktop-icons: Don't try spawn with non-existent workdir
|
||||||
|
|
||||||
|
g_spawn_async() will fail if the specified workdir doesn't exist.
|
||||||
|
That means that opening a terminal from the context menu will fail
|
||||||
|
when the desktop directory doesn't exist.
|
||||||
|
|
||||||
|
The extension doesn't really make sense in that case, but when we
|
||||||
|
show an "Open in Terminal" menu item even then, users expect it
|
||||||
|
to work.
|
||||||
|
---
|
||||||
|
extensions/desktop-icons/desktopIconsUtil.js | 3 +++
|
||||||
|
1 file changed, 3 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/extensions/desktop-icons/desktopIconsUtil.js b/extensions/desktop-icons/desktopIconsUtil.js
|
||||||
|
index 57bedc13..c3fe5977 100644
|
||||||
|
--- a/extensions/desktop-icons/desktopIconsUtil.js
|
||||||
|
+++ b/extensions/desktop-icons/desktopIconsUtil.js
|
||||||
|
@@ -50,6 +50,9 @@ function launchTerminal(workdir) {
|
||||||
|
* https://gitlab.gnome.org/GNOME/gnome-shell/blob/gnome-3-30/js/misc/util.js
|
||||||
|
*/
|
||||||
|
|
||||||
|
+ if (!GLib.file_test(workdir, GLib.FileTest.EXISTS))
|
||||||
|
+ workdir = null;
|
||||||
|
+
|
||||||
|
var success, pid;
|
||||||
|
try {
|
||||||
|
[success, pid] = GLib.spawn_async(workdir, argv, null,
|
||||||
|
--
|
||||||
|
2.41.0
|
||||||
|
|
@ -0,0 +1,29 @@
|
|||||||
|
From 3edf3c0be7638bf9161c0d192dd3c2de1e3b9845 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
|
||||||
|
Date: Thu, 14 Dec 2023 14:41:04 +0100
|
||||||
|
Subject: [PATCH] docking: Only remove spacer if necessary
|
||||||
|
|
||||||
|
There may not be a main dock at the time when restoring the dash.
|
||||||
|
|
||||||
|
Handle that case by not removing a non-existent spacer, instead of
|
||||||
|
triggering an error.
|
||||||
|
---
|
||||||
|
extensions/dash-to-dock/docking.js | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/extensions/dash-to-dock/docking.js b/extensions/dash-to-dock/docking.js
|
||||||
|
index daa9de59..14e2ced6 100644
|
||||||
|
--- a/extensions/dash-to-dock/docking.js
|
||||||
|
+++ b/extensions/dash-to-dock/docking.js
|
||||||
|
@@ -1796,7 +1796,7 @@ var DockManager = class DashToDock_DockManager {
|
||||||
|
|
||||||
|
let overviewControls = Main.overview._overview._controls;
|
||||||
|
Main.overview._overview._controls.layout_manager._dash = this._oldDash;
|
||||||
|
- if (this.mainDock._dashSpacer) {
|
||||||
|
+ if (this.mainDock?._dashSpacer) {
|
||||||
|
Main.overview._overview._controls.remove_child(this.mainDock._dashSpacer);
|
||||||
|
}
|
||||||
|
|
||||||
|
--
|
||||||
|
2.43.0
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue