Author: coolo
Date: Mon Dec 3 11:42:55 2007
New Revision: 42588
URL: http://svn.opensuse.org/viewcvs/yast?rev=42588&view=rev
Log:
fixing #345490
Modified:
trunk/core/VERSION
trunk/core/libyui/src/YCPPropertyHandler.cc
trunk/core/package/yast2-core.changes
Modified: trunk/core/VERSION
URL: http://svn.opensuse.org/viewcvs/yast/trunk/core/VERSION?rev=42588&r1=42587&r2=42588&view=diff
==============================================================================
--- trunk/core/VERSION (original)
+++ trunk/core/VERSION Mon Dec 3 11:42:55 2007
@@ -1 +1 @@
-2.16.11
+2.16.12
Modified: trunk/core/libyui/src/YCPPropertyHandler.cc
URL: http://svn.opensuse.org/viewcvs/yast/trunk/core/libyui/src/YCPPropertyHandler.cc?rev=42588&r1=42587&r2=42588&view=diff
==============================================================================
--- trunk/core/libyui/src/YCPPropertyHandler.cc (original)
+++ trunk/core/libyui/src/YCPPropertyHandler.cc Mon Dec 3 11:42:55 2007
@@ -159,6 +159,7 @@
val = tryGetTableValue ( widget ); if ( ! val.isNull() ) return val;
val = tryGetComboBoxValue ( widget ); if ( ! val.isNull() ) return val;
val = tryGetDumbTabValue ( widget ); if ( ! val.isNull() ) return val;
+ val = tryGetRadioButtonGroupCurrentButton( widget ); if ( ! val.isNull() ) return val;
}
else if ( propertyName == YUIProperty_Values )
{
@@ -318,9 +319,9 @@
return true;
}
-
+
// Find the item with the specified ID
-
+
Item_t * item = findItem( selWidget, val );
if ( item )
@@ -646,13 +647,13 @@
if ( ! multiSelBox )
return false;
-
+
if ( val->isVoid() ) // Special case: nil sets "no selected item"
{
multiSelBox->setCurrentItem( 0 );
return true;
}
-
+
// Find the item with the specified ID
YCPItem * item = findItem<YCPItem>( multiSelBox , val );
@@ -705,7 +706,7 @@
return false;
string msg = "Expected a list of integers";
-
+
if ( ! val->isList() )
{
YUI_THROW( YUIBadPropertyArgException( YProperty( YUIProperty_Values,
@@ -716,7 +717,7 @@
YBarGraphMultiUpdate multiUpdate( barGraph );
YCPList valuesList = val->asList();
-
+
for ( int i=0; i < valuesList->size(); i++ )
{
if ( valuesList->value(i)->isInteger() )
@@ -750,7 +751,7 @@
return false;
string msg = "Expected a list of strings";
-
+
if ( ! val->isList() )
{
YUI_THROW( YUIBadPropertyArgException( YProperty( YUIProperty_Values,
@@ -761,7 +762,7 @@
YBarGraphMultiUpdate multiUpdate( barGraph );
YCPList labelsList = val->asList();
-
+
for ( int i=0; i < labelsList->size(); i++ )
{
if ( labelsList->value(i)->isString() )
@@ -1218,7 +1219,7 @@
for ( int i=0; i < barGraph->segments(); i++ )
result->add( YCPInteger( barGraph->segment(i).value() ) );
-
+
return result;
}
@@ -1235,7 +1236,7 @@
for ( int i=0; i < barGraph->segments(); i++ )
result->add( YCPString( barGraph->segment(i).label() ) );
-
+
return result;
}
Modified: trunk/core/package/yast2-core.changes
URL: http://svn.opensuse.org/viewcvs/yast/trunk/core/package/yast2-core.changes?rev=42588&r1=42587&r2=42588&view=diff
==============================================================================
--- trunk/core/package/yast2-core.changes (original)
+++ trunk/core/package/yast2-core.changes Mon Dec 3 11:42:55 2007
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Mon Dec 3 11:42:01 CET 2007 - coolo@suse.de
+
+- continue supporting `Value for RadioButtonGroup (#345490) for now
+
+-------------------------------------------------------------------
Fri Nov 30 17:15:47 CET 2007 - sh@suse.de
- Removed YContainerWidget for good
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org