gnome-shell-extension-no-ov.../gnome-shell-extension-no-overview-HEAD.patch

85 lines
2.1 KiB
Diff
Raw Normal View History

2021-08-24 05:22:49 +00:00
From bf0f84bb7f4b02b2d15d8c09f02c5116e6128dd8 Mon Sep 17 00:00:00 2001
From: fujiwarat <takao.fujiwara1@gmail.com>
Date: Tue, 24 Aug 2021 14:02:24 +0900
Subject: [PATCH] Add gnome-shell-41
---
metadata.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/metadata.json b/metadata.json
index ab541d3..84ade0f 100644
--- a/metadata.json
+++ b/metadata.json
@@ -6,7 +6,7 @@
"fthx"
],
"shell-version": [
- "40"
+ "40", "41"
],
"url": "https://github.com/fthx/no-overview",
"uuid": "no-overview@fthx",
--
2.28.0
2022-01-17 23:39:23 +00:00
From 9f7d9039a151c1ce5b6ab4592f93569e31b01d19 Mon Sep 17 00:00:00 2001
From: fthx <23138504+fthx@users.noreply.github.com>
Date: Wed, 6 Oct 2021 09:58:49 +0200
Subject: [PATCH] Handle Ubuntu GS 40+ modifications
---
extension.js | 12 ++++++++++++
metadata.json | 8 +++++---
2 files changed, 17 insertions(+), 3 deletions(-)
diff --git a/extension.js b/extension.js
index b13d9fc..3fb99dd 100644
--- a/extension.js
+++ b/extension.js
@@ -22,10 +22,22 @@ class Extension {
Main.layoutManager.connect('startup-complete', () => {
Main.sessionMode.hasOverview = this._realHasOverview
});
+ // handle Ubuntu's modified GNOME Shell for Dock
+ try {
+ Main.layoutManager.startInOverview = false;
+ } catch(e) {
+ log("No-Overview extension warning: command not found because not running Ubuntu");
+ }
}
disable() {
Main.sessionMode.hasOverview = this._realHasOverview;
+ // handle Ubuntu's modified GNOME Shell for Dock
+ try {
+ Main.layoutManager.startInOverview = true;
+ } catch(e) {
+ log("No Overview extension warning: command not found because not running Ubuntu");
+ }
}
}
diff --git a/metadata.json b/metadata.json
index 84ade0f..66625e9 100644
--- a/metadata.json
+++ b/metadata.json
@@ -6,9 +6,11 @@
"fthx"
],
"shell-version": [
- "40", "41"
+ "40",
+ "41",
+ "42"
],
"url": "https://github.com/fthx/no-overview",
"uuid": "no-overview@fthx",
- "version": 8
+ "version": 9
}
\ No newline at end of file
--
2.33.1