Author: mvidner Date: Thu Aug 9 10:22:51 2007 New Revision: 40120 URL: http://svn.opensuse.org/viewcvs/yast?rev=40120&view=rev Log: The dummy Y2 component is instantiable but YUI is not, fixed the namespace accordingly. Modified: branches/tmp/mvidner/ui-as-namespace/core/VERSION branches/tmp/mvidner/ui-as-namespace/core/libyui/src/Y2UINamespace.cc branches/tmp/mvidner/ui-as-namespace/core/libyui/src/YUIComponent.cc branches/tmp/mvidner/ui-as-namespace/core/package/yast2-core.changes Modified: branches/tmp/mvidner/ui-as-namespace/core/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/mvidner/ui-as-namespace/core/VERSION?rev=40120&r1=40119&r2=40120&view=diff ============================================================================== --- branches/tmp/mvidner/ui-as-namespace/core/VERSION (original) +++ branches/tmp/mvidner/ui-as-namespace/core/VERSION Thu Aug 9 10:22:51 2007 @@ -1 +1 @@ -2.15.6.3 +2.15.6.4 Modified: branches/tmp/mvidner/ui-as-namespace/core/libyui/src/Y2UINamespace.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/mvidner/ui-as-namespace/core/libyui/src/Y2UINamespace.cc?rev=40120&r1=40119&r2=40120&view=diff ============================================================================== --- branches/tmp/mvidner/ui-as-namespace/core/libyui/src/Y2UINamespace.cc (original) +++ branches/tmp/mvidner/ui-as-namespace/core/libyui/src/Y2UINamespace.cc Thu Aug 9 10:22:51 2007 @@ -696,6 +696,9 @@ m_comp->createUI(); } + if ( ! m_comp->ui () ) + return YCPVoid (); // dummy UI component + if ( m_play_macro_blocks && m_comp->ui ()->playingMacro () ) { m_comp->ui ()->playNextMacroBlock (); Modified: branches/tmp/mvidner/ui-as-namespace/core/libyui/src/YUIComponent.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/mvidner/ui-as-namespace/core/libyui/src/YUIComponent.cc?rev=40120&r1=40119&r2=40120&view=diff ============================================================================== --- branches/tmp/mvidner/ui-as-namespace/core/libyui/src/YUIComponent.cc (original) +++ branches/tmp/mvidner/ui-as-namespace/core/libyui/src/YUIComponent.cc Thu Aug 9 10:22:51 2007 @@ -192,7 +192,7 @@ { // This component can be instantiated for compilation purposes // but it cannot evaluate the code. - y2internal ("Cannot create generic UI"); + y2debug ("Cannot create generic UI"); return 0; } Modified: branches/tmp/mvidner/ui-as-namespace/core/package/yast2-core.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/mvidner/ui-as-namespace/core/package/yast2-core.changes?rev=40120&r1=40119&r2=40120&view=diff ============================================================================== --- branches/tmp/mvidner/ui-as-namespace/core/package/yast2-core.changes (original) +++ branches/tmp/mvidner/ui-as-namespace/core/package/yast2-core.changes Thu Aug 9 10:22:51 2007 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Thu Aug 9 10:22:43 CEST 2007 - mvidner@suse.cz + +- The dummy Y2 component is instantiable but YUI is not, fixed the + namespace accordingly. +- 2.15.6.4 + +------------------------------------------------------------------- Wed Aug 8 16:59:33 CEST 2007 - mvidner@suse.cz - Make the dummy UI instantiable for testsuite purposes. -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org