[gnome-shell/wip/verdre/hide-overlay-scrollbar] dateMenu: Hide overlay scrollbar in the notification popup
- From: verdre <jonasd src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/verdre/hide-overlay-scrollbar] dateMenu: Hide overlay scrollbar in the notification popup
- Date: Mon, 17 Feb 2020 19:54:11 +0000 (UTC)
commit 88111b3c98336b0c879d14c52cc21708b77458ea
Author: Jonas Dreßler <verdre v0yd nl>
Date: Sun Feb 16 21:57:34 2020 +0100
dateMenu: Hide overlay scrollbar in the notification popup
Since the design of the notification popup changed with the theme
refactor and there are now boxes around the world-clock and weather
sections, the overlay scrollbar that is shown above them looks rather
bad. So simply hide that scrollbar, we still have the vfade effect to
indicate the container is scrollable and we also depend on that in the
new popup app-folders.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1013
js/ui/dateMenu.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/dateMenu.js b/js/ui/dateMenu.js
index 63bcbdf5eb..3f6c61bd92 100644
--- a/js/ui/dateMenu.js
+++ b/js/ui/dateMenu.js
@@ -630,7 +630,7 @@ class DateMenuButton extends PanelMenu.Button {
this._displaysSection = new St.ScrollView({ style_class: 'datemenu-displays-section vfade',
x_expand: true,
overlay_scrollbars: true });
- this._displaysSection.set_policy(St.PolicyType.NEVER, St.PolicyType.AUTOMATIC);
+ this._displaysSection.set_policy(St.PolicyType.NEVER, St.PolicyType.EXTERNAL);
vbox.add_actor(this._displaysSection);
let displaysBox = new St.BoxLayout({ vertical: true,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]