[yast-commit] r54317 - /trunk/storage/storage/src/include/lvm_lib.ycp

Author: aschnell Date: Sat Dec 20 23:04:10 2008 New Revision: 54317 URL: http://svn.opensuse.org/viewcvs/yast?rev=54317&view=rev Log: - removed obsolete code Modified: trunk/storage/storage/src/include/lvm_lib.ycp Modified: trunk/storage/storage/src/include/lvm_lib.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/include/lvm_l... ============================================================================== --- trunk/storage/storage/src/include/lvm_lib.ycp (original) +++ trunk/storage/storage/src/include/lvm_lib.ycp Sat Dec 20 23:04:10 2008 @@ -22,10 +22,6 @@ include "partitioning/partition_defines.ycp"; - // TODO: cleanup - void new_vg_list( list vg_list ); - - textdomain "storage"; define string lvmVg( string vg ) @@ -90,15 +86,8 @@ { // Now the user has created a new vg: make it the current vg current_vg = vg["vgname"]:"error"; - lvm_vgs = add( lvm_vgs, current_vg); pesize = vg["pesize"]:0; - // Display current vg: - if (UI::WidgetExists(`id(`rvg)) && UI::WidgetExists(`id(`vg))) - { - new_vg_list( lvm_vgs ); - UI::ChangeWidget( `id(`vg), `Value, current_vg); - } cancelled = !Storage::CreateLvmVg( current_vg, pesize, vg["lvm2"]:true ); } -- 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