[yast-commit] r44481 - in /branches/tmp/aschnell/part-redesign/storage/src/include: ep-hd.ycp ep-main.ycp
![](https://seccdn.libravatar.org/avatar/ca8d90c49f67ad61282a8e30ff67a25e.jpg?s=120&d=mm&r=g)
Author: aschnell Date: Fri Feb 15 10:19:48 2008 New Revision: 44481 URL: http://svn.opensuse.org/viewcvs/yast?rev=44481&view=rev Log: - update navigation tree Modified: branches/tmp/aschnell/part-redesign/storage/src/include/ep-hd.ycp branches/tmp/aschnell/part-redesign/storage/src/include/ep-main.ycp Modified: branches/tmp/aschnell/part-redesign/storage/src/include/ep-hd.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/aschnell/part-redesign/storage/src/include/ep-hd.ycp?rev=44481&r1=44480&r2=44481&view=diff ============================================================================== --- branches/tmp/aschnell/part-redesign/storage/src/include/ep-hd.ycp (original) +++ branches/tmp/aschnell/part-redesign/storage/src/include/ep-hd.ycp Fri Feb 15 10:19:48 2008 @@ -128,6 +128,8 @@ if (EpDeleteDevice(device)) { // TODO: update tree and tab (with focus) + UpdateNavigationTree(); + CreateHdDiskPartitionsTab(user_data); } } } @@ -196,7 +198,8 @@ string device = (string) user_data; if (EpDeleteDevice(device)) { - // TODO: update tree (with new focus) + // TODO: update tree (with focus) + UpdateNavigationTree(); } } } 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=44481&r1=44480&r2=44481&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 Fri Feb 15 10:19:48 2008 @@ -364,6 +364,9 @@ return table_input; } + + void UpdateNavigationTree(); + include "partitioning/ep-lib.ycp"; include "partitioning/ep-all.ycp"; @@ -439,6 +442,13 @@ return tree; } + + void UpdateNavigationTree() + { + list<term> tree = MakeNavigationTree(); + TreePanel::Update(data, tree); + } + term systemViewTreePanel = `VBox( -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
aschnell@svn.opensuse.org