e6414d8afc
Re-apply rebased and updated version of the RHEL 9 downstream patches, with some exceptions: Branding is still TBD, so has been left out for now. The desktop-icons extension will be replaced by an upstreamed version of desktop-icons-ng, which is still work-in-progress. Both dash-to-dock and dash-to-panel will be moved to separate packages, based on the existing Fedora package. It was decided to drop the panel-favorites and updates-dialog extensions. Resolves: RHEL-34255
41 lines
1.3 KiB
Diff
41 lines
1.3 KiB
Diff
From 2e7aa8ccd266b66c9641b7e7239e45e7317ff431 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
|
|
Date: Thu, 21 Mar 2024 17:27:09 +0100
|
|
Subject: [PATCH 28/28] window-list: Expose workspace preview option
|
|
|
|
Now that we have the option, the window-list should expose it
|
|
in its preference window like the workspace-indicator.
|
|
|
|
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/316>
|
|
---
|
|
extensions/window-list/prefs.js | 13 +++++++++++++
|
|
1 file changed, 13 insertions(+)
|
|
|
|
diff --git a/extensions/window-list/prefs.js b/extensions/window-list/prefs.js
|
|
index 6b2d5958..194d1f9d 100644
|
|
--- a/extensions/window-list/prefs.js
|
|
+++ b/extensions/window-list/prefs.js
|
|
@@ -81,6 +81,19 @@ class WindowListPrefsWidget extends Adw.PreferencesPage {
|
|
});
|
|
row.add_suffix(toggle);
|
|
miscGroup.add(row);
|
|
+
|
|
+ toggle = new Gtk.Switch({
|
|
+ action_name: 'window-list.embed-previews',
|
|
+ valign: Gtk.Align.CENTER,
|
|
+ });
|
|
+ this._settings.bind('embed-previews',
|
|
+ toggle, 'active', Gio.SettingsBindFlags.DEFAULT);
|
|
+ row = new Adw.ActionRow({
|
|
+ title: _('Show workspace previews'),
|
|
+ activatable_widget: toggle,
|
|
+ });
|
|
+ row.add_suffix(toggle);
|
|
+ miscGroup.add(row);
|
|
}
|
|
}
|
|
|
|
--
|
|
2.44.0
|
|
|