commit d6b16d44779b306acf72031115486b0f28ef6fd2
Author: Thomas Woerner <twoerner@redhat.com>
Date: Fri Feb 21 16:37:53 2014 +0100
firewall-config: Adding services and icmptypes result in duplicates in the UI
diff --git a/src/firewall-config b/src/firewall-config
index f963cbc..400a30f 100755
--- a/src/firewall-config
+++ b/src/firewall-config
@@ -3821,10 +3821,6 @@ class FirewallConfig(object):
self.fw.config().addService(name, settings)
self.changes_applied()
- self.load_services()
- #TODO: change active service
- self.onChangeService()
-
def onServiceConfLoadDefaultsService(self, *args):
active_service = self.get_active_service()
service = self.fw.config().getServiceByName(active_service)
@@ -4188,10 +4184,6 @@ class FirewallConfig(object):
self.fw.config().addIcmpType(name, settings)
self.changes_applied()
- self.load_icmps()
- #TODO: change active icmp
- self.onChangeIcmp()
-
def onIcmpDialogLoadDefaultsIcmp(self, *args):
active_icmp = self.get_active_icmp()
icmp = self.fw.config().getIcmpTypeByName(active_icmp)