Author: mvidner
Date: Thu Jul 10 19:03:46 2008
New Revision: 48979
URL: http://svn.opensuse.org/viewcvs/yast?rev=48979&view=rev
Log:
Added a nesting stack (bnc#406138).
Added LastTab() so that some modules continue to work (bnc#134386).
Modified:
trunk/yast2/library/cwm/src/CWMTab.ycp
trunk/yast2/package/yast2.changes
Modified: trunk/yast2/library/cwm/src/CWMTab.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/library/cwm/src/CWMTab.ycp?rev=48979&r1=48978&r2=48979&view=diff
==============================================================================
--- trunk/yast2/library/cwm/src/CWMTab.ycp (original)
+++ trunk/yast2/library/cwm/src/CWMTab.ycp Thu Jul 10 19:03:46 2008
@@ -29,7 +29,7 @@
*/
const string default_tab_header = _("Tab");
-// local variables
+// local variables - remember to add them to Push+Pop
/**
* ID of the currently displayed tab
@@ -51,6 +51,36 @@
*/
map previous_tab_map = $[];
+/**
+ * this one is expressly excluded from Push+Pop
+ */
+string last_tab_id = nil;
+
+/**
+ * nesting stack, needed because of bnc#406138
+ */
+list