Mailinglist Archive: yast-commit (747 mails)

< Previous Next >
[yast-commit] r39116 - /branches/tmp/sh/mod-ui/core/libyui/src/YUI_builtins.cc
  • From: sh-sh-sh@xxxxxxxxxxxxxxxx
  • Date: Mon, 02 Jul 2007 15:25:33 -0000
  • Message-id: <20070702152533.9219D35375@xxxxxxxxxxxxxxxx>
Author: sh-sh-sh
Date: Mon Jul  2 17:25:33 2007
New Revision: 39116

URL: http://svn.opensuse.org/viewcvs/yast?rev=39116&view=rev
Log:
fixed symbol property handling

Modified:
    branches/tmp/sh/mod-ui/core/libyui/src/YUI_builtins.cc

Modified: branches/tmp/sh/mod-ui/core/libyui/src/YUI_builtins.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/core/libyui/src/YUI_builtins.cc?rev=39116&r1=39115&r2=39116&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/core/libyui/src/YUI_builtins.cc (original)
+++ branches/tmp/sh/mod-ui/core/libyui/src/YUI_builtins.cc Mon Jul  2 17:25:33 2007
@@ -894,7 +894,8 @@
            if          ( newValue->isString()  )    val = YPropertyValue( newValue->asString()->value()  );
            else if     ( newValue->isInteger() )    val = YPropertyValue( newValue->asInteger()->value() );
            else if     ( newValue->isBoolean() )    val = YPropertyValue( newValue->asBoolean()->value() );
-           else if     ( newValue->isVoid()    )    YCPPropertyHandler::setComplexProperty( widget, propertyName, newValue );
+           else if     ( newValue->isVoid() ||
+                         newValue->isSymbol() )     YCPPropertyHandler::setComplexProperty( widget, propertyName, newValue );
            else
            {
                y2error( "Unknown type for property %s::%s: %s",

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

< Previous Next >
This Thread
  • No further messages