Allow opening app grid by clicking overview background
Referred to as "everything is lava" by the GNOME design team; include the proposed behavior to get some testing.
This commit is contained in:
parent
060506717c
commit
f3cc26567c
39
0001-overviewControls-Everything-is-lava.patch
Normal file
39
0001-overviewControls-Everything-is-lava.patch
Normal file
@ -0,0 +1,39 @@
|
||||
From 778299a7d32058cbfc552c17648329d8e7161e44 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
|
||||
Date: Thu, 11 Feb 2021 18:10:56 +0100
|
||||
Subject: [PATCH] overviewControls: Everything is lava!
|
||||
|
||||
Account for the increased distance from Activities button to the
|
||||
show-apps button by allowing clicks on the background to bring up
|
||||
the app grid.
|
||||
---
|
||||
js/ui/overviewControls.js | 6 ++++++
|
||||
1 file changed, 6 insertions(+)
|
||||
|
||||
diff --git a/js/ui/overviewControls.js b/js/ui/overviewControls.js
|
||||
index 32388621e..06c875332 100644
|
||||
--- a/js/ui/overviewControls.js
|
||||
+++ b/js/ui/overviewControls.js
|
||||
@@ -247,6 +247,7 @@ class ControlsManager extends St.Widget {
|
||||
style_class: 'controls-manager',
|
||||
x_expand: true,
|
||||
y_expand: true,
|
||||
+ reactive: true,
|
||||
clip_to_allocation: true,
|
||||
});
|
||||
|
||||
@@ -321,6 +322,11 @@ class ControlsManager extends St.Widget {
|
||||
this.dash.showAppsButton.connect('notify::checked',
|
||||
this._onShowAppsButtonToggled.bind(this));
|
||||
|
||||
+ const clickAction = new Clutter.ClickAction();
|
||||
+ clickAction.connect('clicked',
|
||||
+ () => (this.dash.showAppsButton.checked = true));
|
||||
+ this.add_action(clickAction);
|
||||
+
|
||||
Main.ctrlAltTabManager.addGroup(
|
||||
this.appDisplay,
|
||||
_('Applications'),
|
||||
--
|
||||
2.29.2
|
||||
|
@ -11,6 +11,8 @@ Source0: http://download.gnome.org/sources/gnome-shell/40/%{name}-40.alpha.1.1-2
|
||||
# Replace Epiphany with Firefox in the default favourite apps list
|
||||
Patch1: gnome-shell-favourite-apps-firefox.patch
|
||||
|
||||
Patch2: 0001-overviewControls-Everything-is-lava.patch
|
||||
|
||||
%define eds_version 3.33.1
|
||||
%define gnome_desktop_version 3.35.91
|
||||
%define glib2_version 2.56.0
|
||||
@ -223,6 +225,7 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/evolution-calendar.de
|
||||
%changelog
|
||||
* Fri Feb 12 2021 Florian Müllner <fmuellner@redhat.com> - 40.0~alpha.1.1-6.20210212git829a096ba
|
||||
- Update snapshot to current upstream
|
||||
- Allow opening app picker by clicking overview background
|
||||
|
||||
* Fri Feb 12 2021 Milan Crha <mcrha@redhat.com> - 40.0~alpha.1.1-5.20210202git9ce666ac1
|
||||
- Rebuilt for evolution-data-server soname version bump
|
||||
|
Loading…
Reference in New Issue
Block a user