Author: kmachalkova
Date: Wed Feb 11 18:10:13 2009
New Revision: 55439
URL: http://svn.opensuse.org/viewcvs/yast?rev=55439&view=rev
Log:
One more (bnc#458010)
Modified:
trunk/storage/storage/src/include/custom_part_lib.ycp
Modified: trunk/storage/storage/src/include/custom_part_lib.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/include/custom_part_lib.ycp?rev=55439&r1=55438&r2=55439&view=diff
==============================================================================
--- trunk/storage/storage/src/include/custom_part_lib.ycp (original)
+++ trunk/storage/storage/src/include/custom_part_lib.ycp Wed Feb 11 18:10:13 2009
@@ -688,7 +688,7 @@
define map HandleFsChanged( boolean init, map new,
symbol old_fs, map file_systems )
``{
- boolean undo_change = false;
+ boolean apply_change = false;
list<string> not_used_mp = [];
symbol used_fs = new["used_fs"]:`unknown;
map selected_fs = file_systems[used_fs]:$[];
@@ -710,12 +710,12 @@
in the system. Do not file bugs against the file system
itself if it does not work properly or at all.
-Undo the change of file system?
+Really use this file system?
"), Product::name );
- undo_change = Popup::YesNo(message);
+ apply_change = Popup::YesNo(message);
}
- if( !undo_change && !Stage::initial() )
+ if( apply_change && !Stage::initial() )
{
if( size(pkg_for_fs[used_fs]:[])>0 )
{
@@ -723,17 +723,17 @@
y2milestone( "HandleFsChanged install %1 ret:%2",
pkg_for_fs[used_fs]:[], r );
if( !r )
- undo_change = true;
+ apply_change = false;
}
}
- if( undo_change )
+ if( !apply_change )
{
new["used_fs"] = old_fs;
UI::ChangeWidget(`id(`fs), `Value, old_fs );
}
}
- if( !undo_change && UI::WidgetExists( `id(`crypt_fs) ))
+ if( apply_change && UI::WidgetExists( `id(`crypt_fs) ))
{
boolean cr = selected_fs[`crypt]:true;
@@ -745,7 +745,7 @@
}
}
- if( !undo_change )
+ if( apply_change )
{
////////////////////////////////////////////////
// switch between swap and other mountpoints
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org