Author: jsmeix Date: Wed Feb 10 16:42:25 2010 New Revision: 60790 URL: http://svn.opensuse.org/viewcvs/yast?rev=60790&view=rev Log: In case of the "net" meta-backend, the [Edit] button in the OverviewDialog() now also launches the "Scanning via Network" dialog even when the "net" meta-backend did not recognize a scanner (bnc#578104). Modified: trunk/scanner/VERSION trunk/scanner/src/dialogs.ycp Modified: trunk/scanner/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/scanner/VERSION?rev=60790&r1=60789&r2=60790&view=diff ============================================================================== --- trunk/scanner/VERSION (original) +++ trunk/scanner/VERSION Wed Feb 10 16:42:25 2010 @@ -1 +1 @@ -2.19.1 +2.19.2 Modified: trunk/scanner/src/dialogs.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/scanner/src/dialogs.ycp?rev=60790&r1=60789&r2=60790&view=diff ============================================================================== --- trunk/scanner/src/dialogs.ycp (original) +++ trunk/scanner/src/dialogs.ycp Wed Feb 10 16:42:25 2010 @@ -251,7 +251,14 @@ break; } if( issubstring( selected_item_id, "active_backend:" ) ) - { // A selected active backend (without a matching active scanner) cannot be edited. + { integer active_backends_index = tointeger( filterchars( selected_item_id, "0123456789" ) ); + // Test if the active backend is the 'net' meta-backend: + if( "net" == Scanner::active_backends[active_backends_index]:"" ) + { // Exit this dialog and run the ConfigureNetworkScanningDialog via the sequencer in wizards.ycp: + ret = `network_scanning; + break; + } + // A selected active backend (without a matching active scanner) cannot be edited. // A selected active backend (without a matching active scanner) can only be deleted. Popup::AnyMessage( // Header of a Popup::AnyMessage when an active driver // without a matching active scanner was selected -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org