gnome-control-center/gnome-control-center-disable-error-message-for-NM.patch

74 lines
3.6 KiB
Diff

Index: gnome-control-center-47.beta/panels/network/cc-wifi-panel.ui
===================================================================
--- gnome-control-center-47.beta.orig/panels/network/cc-wifi-panel.ui
+++ gnome-control-center-47.beta/panels/network/cc-wifi-panel.ui
@@ -217,6 +217,51 @@ Error details: NetworkManager not runnin
</property>
</object>
</child>
+
+ <!-- "Wicked Running" page -->
+ <child>
+ <object class="GtkStackPage">
+ <property name="name">wicked-running</property>
+ <property name="child">
+ <object class="GtkCenterBox">
+ <property name="hexpand">True</property>
+ <property name="vexpand">True</property>
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="halign">center</property>
+ <property name="valign">center</property>
+ <property name="orientation">vertical</property>
+ <property name="margin-top">18</property>
+ <property name="margin-bottom">18</property>
+ <property name="margin-start">18</property>
+ <property name="margin-end">18</property>
+ <child type="center">
+ <object class="GtkImage">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="icon_name">face-sad-symbolic</property>
+ <property name="pixel_size">128</property>
+ <style>
+ <class name="dim-label" />
+ </style>
+ </object>
+ </child>
+ <child type="end">
+ <object class="GtkLabel">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="wrap">True</property>
+ <property name="label" translatable="yes">Please use YaST2 to configure your network.</property>
+ <attributes>
+ <attribute name="scale" value="1.42" />
+ </attributes>
+ </object>
+ </child>
+ </object>
+ </property>
+ </object>
+ </child>
+
</object>
</child>
</object>
Index: gnome-control-center-47.beta/tests/meson.build
===================================================================
--- gnome-control-center-47.beta.orig/tests/meson.build
+++ gnome-control-center-47.beta/tests/meson.build
@@ -3,9 +3,12 @@ Xvfb = find_program('Xvfb', required: fa
subdir('common')
#subdir('datetime')
+# Disable tests for network panel, boo#1128195
+if false
if host_is_linux
subdir('network')
endif
+endif
# FIXME: this is a workaround because interactive-tests don't work with libadwaita as a subproject. See !1754
if not libadwaita_is_subproject