From 0087edb40222a3ce17b8c991178a273c60682fd6d2364d4ae4f8eaa31f1196b9 Mon Sep 17 00:00:00 2001 From: Luciano Santos Date: Sun, 5 Aug 2018 00:46:21 +0000 Subject: [PATCH] Accepting request 627247 from home:qkzhu:branches:GNOME:Factory - Update gse-sle-classic-ext.patch CSS files are generated by Sass sources in 3.28, the default margin-bottom of popup-menu.panel-menu is 1.75em which creates an ugly gap between menu and its source actor when the PanelMenu's source actor is at the bottom (boo#1094148). OBS-URL: https://build.opensuse.org/request/show/627247 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-shell-extensions?expand=0&rev=182 --- gnome-shell-extensions.changes | 9 ++++++++ gse-sle-classic-ext.patch | 38 ++++++++++++++++++++++++++-------- 2 files changed, 38 insertions(+), 9 deletions(-) diff --git a/gnome-shell-extensions.changes b/gnome-shell-extensions.changes index 693c28b..81c0ca5 100644 --- a/gnome-shell-extensions.changes +++ b/gnome-shell-extensions.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Aug 3 06:05:03 UTC 2018 - qkzhu@suse.com + +- Update gse-sle-classic-ext.patch CSS files are generated by Sass + sources in 3.28, the default margin-bottom of popup-menu.panel-menu + is 1.75em which creates an ugly gap between menu and its source + actor when the PanelMenu's source actor is at the bottom + (boo#1094148). + ------------------------------------------------------------------- Tue Jul 24 16:52:54 UTC 2018 - dimstar@opensuse.org diff --git a/gse-sle-classic-ext.patch b/gse-sle-classic-ext.patch index 982f48a..0d888da 100644 --- a/gse-sle-classic-ext.patch +++ b/gse-sle-classic-ext.patch @@ -1,7 +1,7 @@ -Index: gnome-shell-extensions-3.27.91/extensions/window-list/classic.css +Index: gnome-shell-extensions-3.28.1+20180413.6746061/extensions/window-list/classic.css =================================================================== ---- gnome-shell-extensions-3.27.91.orig/extensions/window-list/classic.css -+++ gnome-shell-extensions-3.27.91/extensions/window-list/classic.css +--- gnome-shell-extensions-3.28.1+20180413.6746061.orig/extensions/window-list/classic.css ++++ gnome-shell-extensions-3.28.1+20180413.6746061/extensions/window-list/classic.css @@ -6,7 +6,7 @@ height: 2.25em ; } @@ -43,10 +43,10 @@ Index: gnome-shell-extensions-3.27.91/extensions/window-list/classic.css color: #888; box-shadow: inset -1px -1px 1px rgba(0,0,0,0.5); } -Index: gnome-shell-extensions-3.27.91/extensions/window-list/extension.js +Index: gnome-shell-extensions-3.28.1+20180413.6746061/extensions/window-list/extension.js =================================================================== ---- gnome-shell-extensions-3.27.91.orig/extensions/window-list/extension.js -+++ gnome-shell-extensions-3.27.91/extensions/window-list/extension.js +--- gnome-shell-extensions-3.28.1+20180413.6746061.orig/extensions/window-list/extension.js ++++ gnome-shell-extensions-3.28.1+20180413.6746061/extensions/window-list/extension.js @@ -27,6 +27,395 @@ const GroupingMode = { ALWAYS: 2 }; @@ -455,10 +455,10 @@ Index: gnome-shell-extensions-3.27.91/extensions/window-list/extension.js + return new Extension(); + } } -Index: gnome-shell-extensions-3.27.91/extensions/window-list/stylesheet.css +Index: gnome-shell-extensions-3.28.1+20180413.6746061/extensions/window-list/stylesheet.css =================================================================== ---- gnome-shell-extensions-3.27.91.orig/extensions/window-list/stylesheet.css -+++ gnome-shell-extensions-3.27.91/extensions/window-list/stylesheet.css +--- gnome-shell-extensions-3.28.1+20180413.6746061.orig/extensions/window-list/stylesheet.css ++++ gnome-shell-extensions-3.28.1+20180413.6746061/extensions/window-list/stylesheet.css @@ -79,6 +79,10 @@ border: 1px solid #cccccc; } @@ -470,3 +470,23 @@ Index: gnome-shell-extensions-3.27.91/extensions/window-list/stylesheet.css .notification { font-weight: normal; } +Index: gnome-shell-extensions-3.28.1+20180413.6746061/data/gnome-classic.scss +=================================================================== +--- gnome-shell-extensions-3.28.1+20180413.6746061.orig/data/gnome-classic.scss ++++ gnome-shell-extensions-3.28.1+20180413.6746061/data/gnome-classic.scss +@@ -103,3 +103,15 @@ $variant: 'light'; + &:hover, &focus { background-color: darken($bg_color,2%); } + } + } ++ ++.popup-menu { ++ &.panel-menu { ++ -boxpointer-gap: 4px; ++ /* TODO was 1.75em, no idea of its use */ ++ /* NOTE: the following creates an ugly gap between menu and its source actor ++ when the PanelMenu's source actor is at the bottom. Preferrably for ++ bottom menu, `margin-top` might be a better choice. However, since we ++ have no idea about its use so reset to 0 for now. */ ++ margin-bottom: 0em; ++ } ++}