Author: aschnell Date: Fri Aug 1 15:46:15 2008 New Revision: 49584 URL: http://svn.opensuse.org/viewcvs/yast?rev=49584&view=rev Log: - removed obsolete code Removed: trunk/storage/storage/src/include/signatures.ycp Modified: trunk/storage/storage/src/include/lvm_lib.ycp trunk/storage/storage/src/include/lvm_ui_lib.ycp Modified: trunk/storage/storage/src/include/lvm_lib.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/include/lvm_lib.ycp?rev=49584&r1=49583&r2=49584&view=diff ============================================================================== --- trunk/storage/storage/src/include/lvm_lib.ycp (original) +++ trunk/storage/storage/src/include/lvm_lib.ycp Fri Aug 1 15:46:15 2008 @@ -20,7 +20,7 @@ include "partitioning/partition_defines.ycp"; -include "partitioning/signatures.ycp"; + textdomain "storage"; Modified: trunk/storage/storage/src/include/lvm_ui_lib.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/include/lvm_ui_lib.ycp?rev=49584&r1=49583&r2=49584&view=diff ============================================================================== --- trunk/storage/storage/src/include/lvm_ui_lib.ycp (original) +++ trunk/storage/storage/src/include/lvm_ui_lib.ycp Fri Aug 1 15:46:15 2008 @@ -20,7 +20,6 @@ textdomain "storage"; -#include "partitioning/signatures.ycp"; //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// @@ -175,34 +174,6 @@ ///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// -//---------------------------------------------------- -// give bar widget if possible - -define term get_bargraph_or_compatible( string avail_vg_size ) - ``{ - if( UI::HasSpecialWidget( `BarGraph )) - { - return( `HBox( - // label text - `Label(_("Available size:")), - `HSpacing(0.5), - `BarGraph( `id(`vg_size), `opt(`hstretch), - [ 0, 10 ], [ "", ""]) - // `Label( `opt( `outputField), avail_vg_size ) - )); - } - else - { - return( `HBox( - // label text - `Bottom(`Left(`Label(_("Available Size:")))), - `Bottom(`Left(`Label( `id(`vg_size), - `opt( `hstretch, `outputField), avail_vg_size ))), - `HWeight(1,`HStretch()) - // `Label( `opt( `outputField), avail_vg_size ) - )); - } - }; //---------------------------------------------------- // give table for step 2: create volume group, add phys. volumes (pv) @@ -259,70 +230,6 @@ ); }; - - -////////////////////////////////////////////////////////////////////// -// give main page for configuration - X11 version -////////////////////////////////////////////////////////////////////// - -define term get_config_content( list pv_table_list, list lv_table_list, - list vg_list, string phys_vg_size, - string avail_vg_size, boolean view_all_mnts ) - ``{ - return( `HBox( `HSpacing(0.5), - `VBox( - `VSquash(`HBox( - `Left(`ReplacePoint( `id(`rvg ), - `ComboBox(`id(`vg), - `opt(`notify), - // label text - _("V&olume Group Name"), - vg_list ))), - `HSpacing(2), - // button text - `Left(`Bottom(`PushButton( `id(`vg_add_vg), _("A&dd group")))), - `HSpacing(0.5), - // button text - `Left(`Bottom(`PushButton( `id(`vg_remove_vg), _("Remove &group")))), - `HWeight(1,`HStretch()) - )), - `VSpacing(1), - // label text - `Frame(_("Edit the current volume group:"), - `HBox( - `HWeight( 50, - `VBox( - `VSpacing(0.7), - // label text - `Heading(_("Physical volumes")), - `VSpacing(0.7), - `HBox( - // label text - `Label(_("Physical volume size:")), - `Label( `id(`pv_size), `opt(`outputField), phys_vg_size ) - ), - `VSpacing(0.5), - get_pv_table_content( pv_table_list ) - )), - `HWeight( 50, - `VBox( - `VSpacing(0.5), - // label text - `Heading(_("Logical volumes")), - `VSpacing(0.5), - get_bargraph_or_compatible( avail_vg_size ), - `VSpacing(0.2), - get_lv_table_content( lv_table_list, view_all_mnts ) - )) - ) - ) - ), - `HSpacing(0.5) - ) - ); - }; - - ////////////////////////////////////////////////////////////////////// // give main page for step 2: create volume group, add phys. volumes (pv) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org