Author: aschnell Date: Mon Mar 16 14:12:14 2009 New Revision: 56136 URL: http://svn.opensuse.org/viewcvs/yast?rev=56136&view=rev Log: - fixed event handling Modified: trunk/storage/storage/src/include/ep-hd.ycp Modified: trunk/storage/storage/src/include/ep-hd.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/include/ep-hd.ycp?rev=56136&r1=56135&r2=56136&view=diff ============================================================================== --- trunk/storage/storage/src/include/ep-hd.ycp (original) +++ trunk/storage/storage/src/include/ep-hd.ycp Mon Mar 16 14:12:14 2009 @@ -24,7 +24,7 @@ `item(`id(`delete), _("Delete")) ]); switch (widget) - { + { case `add: EpCreatePartition(device); break; @@ -189,7 +189,10 @@ CallConfig(_("Rescaning disks cancels all current changes. Really rescan disks?"), nil, nil); break; + } + switch (Event::IsMenu(event)) + { case `iscsi: // popup text CallConfig(_("Calling iSCSI configuration cancels all current changes. @@ -417,7 +420,10 @@ case `delete: EpDeletePartition(part_device, `table); break; + } + switch (Event::IsMenu(event)) + { case `create_partition_table: EpCreatePartitionTable(disk_device); break; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org