Mailinglist Archive: yast-commit (953 mails)

< Previous Next >
[yast-commit] r49934 - /trunk/yast2/library/network/src/CWMFirewallInterfaces.ycp
  • From: kmachalkova@xxxxxxxxxxxxxxxx
  • Date: Mon, 11 Aug 2008 11:52:49 -0000
  • Message-id: <20080811115250.17C4A2A1E5@xxxxxxxxxxxxxxxx>
Author: kmachalkova
Date: Mon Aug 11 13:52:49 2008
New Revision: 49934

URL: http://svn.opensuse.org/viewcvs/yast?rev=49934&view=rev
Log:
OpenFirewallWidgetExists check added

Modified:
trunk/yast2/library/network/src/CWMFirewallInterfaces.ycp

Modified: trunk/yast2/library/network/src/CWMFirewallInterfaces.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/yast2/library/network/src/CWMFirewallInterfaces.ycp?rev=49934&r1=49933&r2=49934&view=diff
==============================================================================
--- trunk/yast2/library/network/src/CWMFirewallInterfaces.ycp (original)
+++ trunk/yast2/library/network/src/CWMFirewallInterfaces.ycp Mon Aug 11
13:52:49 2008
@@ -962,6 +962,17 @@
}

/**
+ * Check whether the whole firewall widget ( open port checkbox
+ * and fw details button) exists
+ * @return boolean true if both widgets exist
+ */
+global boolean OpenFirewallWidgetExists() {
+
+ return ( UI::WidgetExists (`id ("_cwm_open_firewall")) &&
+ UI::WidgetExists (`id ("_cwm_firewall_details")) );
+
+}
+/**
* Get the template for the help text to the firewall opening widget
* @param restart_displayed shold be true if "Save and restart" is displayed
* @return string help text template with %1 and %2 placeholders

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages