Accepting request 801385 from GNOME:Next
OBS-URL: https://build.opensuse.org/request/show/801385 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-shell?expand=0&rev=433
This commit is contained in:
parent
200f46e037
commit
96ae0d5505
34
gnome-shell-panel-center-app-icon.patch
Normal file
34
gnome-shell-panel-center-app-icon.patch
Normal file
@ -0,0 +1,34 @@
|
||||
From 881d330bc0bb3735853dd6c522fcc6fed4646f1f Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
|
||||
Date: Thu, 7 May 2020 12:25:13 +0000
|
||||
Subject: [PATCH] panel: Center app icon
|
||||
|
||||
Giving the icon extra space may distort it, so center it vertically.
|
||||
|
||||
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2578
|
||||
|
||||
|
||||
(cherry picked from commit a9d73b10173b00024266fff49a4c3709ca56b93b)
|
||||
---
|
||||
js/ui/panel.js | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/js/ui/panel.js b/js/ui/panel.js
|
||||
index 095b400de8..ef1ba6e128 100644
|
||||
--- a/js/ui/panel.js
|
||||
+++ b/js/ui/panel.js
|
||||
@@ -216,7 +216,10 @@ var AppMenuButton = GObject.registerClass({
|
||||
this._onIconThemeChanged.bind(this));
|
||||
|
||||
let iconEffect = new Clutter.DesaturateEffect();
|
||||
- this._iconBox = new St.Bin({ style_class: 'app-menu-icon' });
|
||||
+ this._iconBox = new St.Bin({
|
||||
+ style_class: 'app-menu-icon',
|
||||
+ y_align: Clutter.ActorAlign.CENTER,
|
||||
+ });
|
||||
this._iconBox.add_effect(iconEffect);
|
||||
this._container.add_actor(this._iconBox);
|
||||
|
||||
--
|
||||
2.26.2
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu May 7 19:27:38 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- Add gnome-shell-panel-center-app-icon.patch: panel: Center app
|
||||
icon. Giving the icon extra space may distort it, so center it
|
||||
vertically.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 7 03:13:27 UTC 2020 - Stasiek Michalski <stasiek@michalski.cc>
|
||||
|
||||
|
@ -42,6 +42,8 @@ Patch4: gnome-shell-fate324570-Make-GDM-background-image-configurable.pa
|
||||
Patch5: gnome-shell-jscSLE9267-Remove-sessionList-of-endSessionDialog.patch
|
||||
# PATCH-FIX-UPSTREAM gnome-shell-Get-resource-scale-by-get_resource_scale.patch bsc#1169845 glgo#GNOME/gnome-shell!1206 xwang@suse.com -- Get resource scale by get_resource_scale
|
||||
Patch6: gnome-shell-Get-resource-scale-by-get_resource_scale.patch
|
||||
# PATCH-FIX-UPSTREAM gnome-shell-panel-center-app-icon.patch -- panel: Center app icon
|
||||
Patch7: gnome-shell-panel-center-app-icon.patch
|
||||
|
||||
## NOTE: Keep SLE-only patches at bottom (starting on 1000).
|
||||
# PATCH-FEATURE-SLE gnome-shell-gdm-login-applet.patch fate#314545 dliang@suse.com -- Add an applet on login UI to display suse icon, product name, hostname.
|
||||
@ -181,6 +183,7 @@ This package contains an optional extensions app for managing GNOME Shell extens
|
||||
#patch4 -p1
|
||||
#patch5 -p1
|
||||
%patch6 -p1
|
||||
%patch7 -p1
|
||||
|
||||
translation-update-upstream
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user