Accepting request 704193 from GNOME:Factory

- Add control-center-fix-mtu-label.patch: network: Fix mtu label
  not requesting enough space (glgo#GNOME/gnome-control-center!475,
  bsc#1040055). (forwarded request 703410 from JonathanKang)

OBS-URL: https://build.opensuse.org/request/show/704193
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-control-center?expand=0&rev=179
This commit is contained in:
Dominique Leuenberger 2019-05-22 08:56:00 +00:00 committed by Git OBS Bridge
commit 941d1fce28
3 changed files with 60 additions and 1 deletions

View File

@ -0,0 +1,49 @@
From 1d0f24e077f80d123e53e476fcd57293b82052d5 Mon Sep 17 00:00:00 2001
From: Jonathan Kang <jonathankang@gnome.org>
Date: Fri, 10 May 2019 15:10:55 +0800
Subject: [PATCH] network: Fix mtu label not requesting enough space
Remove the size group where mtu label belongs, so that it can request
enough space when it becomes visible. Since the size group is removed,
filler widget is no longer useful. Remove it as well.
---
.../network/connection-editor/ethernet-page.ui | 18 ------------------
1 file changed, 18 deletions(-)
diff --git a/panels/network/connection-editor/ethernet-page.ui b/panels/network/connection-editor/ethernet-page.ui
index eb1bfb06a..650f72e8a 100644
--- a/panels/network/connection-editor/ethernet-page.ui
+++ b/panels/network/connection-editor/ethernet-page.ui
@@ -199,18 +199,6 @@
<property name="height">1</property>
</packing>
</child>
- <child>
- <object class="GtkLabel" id="filler">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- </object>
- <packing>
- <property name="left_attach">2</property>
- <property name="top_attach">0</property>
- <property name="width">1</property>
- <property name="height">1</property>
- </packing>
- </child>
<child>
<placeholder/>
</child>
@@ -227,10 +215,4 @@
<placeholder/>
</child>
</object>
- <object class="GtkSizeGroup" id="sizegroup1">
- <widgets>
- <widget name="label_mtu"/>
- <widget name="filler"/>
- </widgets>
- </object>
</interface>
--
2.21.0

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu May 16 08:57:24 UTC 2019 - Jonathan Kang <sckang@suse.com>
- Add control-center-fix-mtu-label.patch: network: Fix mtu label
not requesting enough space (glgo#GNOME/gnome-control-center!475,
bsc#1040055).
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 9 06:52:13 UTC 2019 - Jonathan Kang <sckang@suse.com> Thu May 9 06:52:13 UTC 2019 - Jonathan Kang <sckang@suse.com>

View File

@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
@ -40,6 +40,8 @@ Patch0: gnome-control-center-disable-error-message-for-NM.patch
Patch1: control-center-network-add-domain-suffix-match.patch Patch1: control-center-network-add-domain-suffix-match.patch
# PATCH-FIX-UPSTREAM control-center-network-fix-ce-apply-button.patch glgo#GNOME/gnome-control-center!402 bsc#1040054 sckang@suse.com -- network: disable the "Apply" button until a change has been made # PATCH-FIX-UPSTREAM control-center-network-fix-ce-apply-button.patch glgo#GNOME/gnome-control-center!402 bsc#1040054 sckang@suse.com -- network: disable the "Apply" button until a change has been made
Patch2: control-center-network-fix-ce-apply-button.patch Patch2: control-center-network-fix-ce-apply-button.patch
# PATCH-FIX-UPSTREAM control-center-fix-mtu-label.patch glgo#GNOME/gnome-control-center!475 bsc#1040055 sckang@suse.com -- network: Fix mtu label not requesting enough space
Patch3: control-center-fix-mtu-label.patch
### patches for Leap >= 15 plus SLE >= 15, but not TW ### patches for Leap >= 15 plus SLE >= 15, but not TW
# PATCH-FEATURE-SLE gnome-control-center-info-never-use-gnome-software.patch bsc#999336 fezhang@suse.com -- info: Never search for gnome-software as an option when checking for updates on SLE and Leap 42.2, because we use gpk-update-viewer. # PATCH-FEATURE-SLE gnome-control-center-info-never-use-gnome-software.patch bsc#999336 fezhang@suse.com -- info: Never search for gnome-software as an option when checking for updates on SLE and Leap 42.2, because we use gpk-update-viewer.
@ -198,6 +200,7 @@ GNOME control center.
%patch0 -p1 %patch0 -p1
%patch1 -p1 %patch1 -p1
%patch2 -p1 %patch2 -p1
%patch3 -p1
translation-update-upstream po gnome-control-center-2.0 translation-update-upstream po gnome-control-center-2.0
# patches for Leap >= 15 plus SLE >= 15, but not TW # patches for Leap >= 15 plus SLE >= 15, but not TW