Author: aschnell Date: Thu Apr 24 15:43:18 2008 New Revision: 47037 URL: http://svn.opensuse.org/viewcvs/yast?rev=47037&view=rev Log: - set focus Modified: branches/tmp/aschnell/part-redesign/storage/src/include/ep-main.ycp Modified: branches/tmp/aschnell/part-redesign/storage/src/include/ep-main.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/aschnell/part-redesign/storage/src/include/ep-main.ycp?rev=47037&r1=47036&r2=47037&view=diff ============================================================================== --- branches/tmp/aschnell/part-redesign/storage/src/include/ep-main.ycp (original) +++ branches/tmp/aschnell/part-redesign/storage/src/include/ep-main.ycp Thu Apr 24 15:43:18 2008 @@ -127,13 +127,13 @@ //FIXME: find some nicer icons here tree = [ `item(`id(`all), short_hostname, open(`all), [ - `item(`id(`hd), `icon("yast-disk.png"), _("Hard Disks"), open(`hd), subtree[`hd]:[]), - `item(`id(`lvm),`icon("yast-lvm_config.png"), _("Volume Management"), open(`lvm), subtree[`lvm]:[]), - `item(`id(`md),`icon("yast-general.png"), _("RAID"), open(`md), subtree[`md]:[]), + `item(`id(`hd), `icon("yast-disk.png"), _("Hard Disks"), open(`hd), subtree[`hd]:[]), + `item(`id(`lvm), `icon("yast-lvm_config.png"), _("Volume Management"), open(`lvm), subtree[`lvm]:[]), + `item(`id(`md), `icon("yast-general.png"), _("RAID"), open(`md), subtree[`md]:[]), `item(`id(`loop), `icon("yast-general.png"), _("Crypt Files"), open(`loop), subtree[`loop]:[]), `item(`id(`dm), `icon("yast-general.png"), _("Device Mapper"), open(`dm), subtree[`dm]:[]), `item(`id(`nfs), `icon("yast-nfs.png"), _("NFS"), open(`nfs), subtree[`nfs]:[]), - `item(`id(`unused),`icon("yast-general.png"), _("Unused Devices"), open(`unused)) + `item(`id(`unused), `icon("yast-general.png"), _("Unused Devices"), open(`unused)) ]), `item(`id(`settings), `icon("yast.png"), _("Settings"), open(`settings)), `item(`id(`log), `icon("yast-messages.png"), _("Log"), open(`log)) ]; @@ -252,6 +252,7 @@ { any citem = UI::QueryWidget(`id(`table), `CurrentItem); TreePanel::SwitchToNew( citem ); + UI::SetFocus(`tree); } } until (widget == `back || widget == `abort || widget == `next); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org