Dominique Leuenberger
7bb42eefd1
New unstable, now with your rebase of patch :-) OBS-URL: https://build.opensuse.org/request/show/329470 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-control-center?expand=0&rev=292
59 lines
2.8 KiB
Diff
59 lines
2.8 KiB
Diff
From 889ce41e87872377b6f728fadd0e0ffaa927406a Mon Sep 17 00:00:00 2001
|
|
From: Felix Zhang <fezhang@suse.com>
|
|
Date: Thu, 11 Sep 2014 16:07:43 +0800
|
|
Subject: [PATCH] bnc894394 hide firewall zone entry
|
|
|
|
The Firewall Zone entry is only activated if firewalld package is installed.
|
|
As openSUSE doesn't have this package, the entry never works. So removing the
|
|
entry to avoid confusions.
|
|
---
|
|
panels/network/connection-editor/ethernet-page.ui | 4 ++--
|
|
panels/network/connection-editor/vpn-page.ui | 4 ++--
|
|
panels/network/connection-editor/wifi-page.ui | 4 ++--
|
|
3 files changed, 6 insertions(+), 6 deletions(-)
|
|
|
|
Index: gnome-control-center-3.17.2/panels/network/connection-editor/ethernet-page.ui
|
|
===================================================================
|
|
--- gnome-control-center-3.17.2.orig/panels/network/connection-editor/ethernet-page.ui
|
|
+++ gnome-control-center-3.17.2/panels/network/connection-editor/ethernet-page.ui
|
|
@@ -264,7 +264,7 @@
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="heading_zone">
|
|
- <property name="visible">True</property>
|
|
+ <property name="visible">False</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="xalign">1</property>
|
|
<property name="label" translatable="yes">Firewall _Zone</property>
|
|
@@ -280,7 +280,7 @@
|
|
</child>
|
|
<child>
|
|
<object class="GtkComboBoxText" id="combo_zone">
|
|
- <property name="visible">True</property>
|
|
+ <property name="visible">False</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="entry_text_column">0</property>
|
|
<property name="id_column">1</property>
|
|
Index: gnome-control-center-3.17.2/panels/network/connection-editor/vpn-page.ui
|
|
===================================================================
|
|
--- gnome-control-center-3.17.2.orig/panels/network/connection-editor/vpn-page.ui
|
|
+++ gnome-control-center-3.17.2/panels/network/connection-editor/vpn-page.ui
|
|
@@ -57,7 +57,7 @@
|
|
<property name="spacing">6</property>
|
|
<child>
|
|
<object class="GtkLabel" id="heading_zone">
|
|
- <property name="visible">True</property>
|
|
+ <property name="visible">False</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="label" translatable="yes">Firewall _Zone</property>
|
|
<property name="use_underline">True</property>
|
|
@@ -71,7 +71,7 @@
|
|
</child>
|
|
<child>
|
|
<object class="GtkComboBoxText" id="combo_zone">
|
|
- <property name="visible">True</property>
|
|
+ <property name="visible">False</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="entry_text_column">0</property>
|
|
<property name="id_column">1</property>
|