Add gnome-shell-42
This commit is contained in:
parent
3ca6514f93
commit
dac98db3d8
@ -23,3 +23,62 @@ index ab541d3..84ade0f 100644
|
||||
--
|
||||
2.28.0
|
||||
|
||||
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
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
Name: gnome-shell-extension-%{extension}
|
||||
Version: 8
|
||||
Release: 4%{?dist}
|
||||
Release: 90%{?dist}
|
||||
Summary: GNOME Shell extension for no overview at start-up
|
||||
License: GPLv3
|
||||
URL: https://extensions.gnome.org/extension/4099/no-overview/
|
||||
@ -42,8 +42,11 @@ cp -rp *.js metadata.json \
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Jan 18 2022 Takao Fujiwara <tfujiwar@redhat.com> - 8-90
|
||||
- Add gnome-shell-42
|
||||
|
||||
* Tue Sep 07 2021 Takao Fujiwara <tfujiwar@redhat.com> - 8-4
|
||||
- Woraround #2001561 Delete to require gnome-shell-extension-common
|
||||
- Workaround #2001561 Delete to require gnome-shell-extension-common
|
||||
|
||||
* Tue Aug 24 2021 Takao Fujiwara <tfujiwar@redhat.com> - 8-3
|
||||
- Add gnome-shell-41
|
||||
|
Loading…
Reference in New Issue
Block a user