[yast-commit] r66756 - /branches/SuSE-Code-11-SP2-Branch/fcoe-client/src/complex.ycp
Author: gs Date: Tue Nov 8 14:52:37 2011 New Revision: 66756 URL: http://svn.opensuse.org/viewcvs/yast?rev=66756&view=rev Log: improve warning popup when removing interface Modified: branches/SuSE-Code-11-SP2-Branch/fcoe-client/src/complex.ycp Modified: branches/SuSE-Code-11-SP2-Branch/fcoe-client/src/complex.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/fcoe-client/src/complex.ycp?rev=66756&r1=66755&r2=66756&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/fcoe-client/src/complex.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/fcoe-client/src/complex.ycp Tue Nov 8 14:52:37 2011 @@ -281,7 +281,6 @@ string command = ""; map output = $[]; - string vlan_interface = ""; string fcoe_vlan_interface = ""; map status_map = $[]; @@ -390,18 +389,22 @@ map output = $[]; string command = ""; // popup text: really remove FCoE VLAN interface - string popup_text = sformat( _("Do you really want to remove the FCoE VLAN device %1?"), + string popup_text = sformat( _("Do you really want to remove the FCoE interface %1?"), card["fcoe_vlan"]:"" ); if ( !Stage::initial() ) { // popup text continues - popup_text = popup_text + "\n" + _( "Please note: The device won't be restored on 'Cancel'." ); + popup_text = popup_text + "\n" + _( "Attention: +Make sure the interface is not essential for a used device. +The interface won't be restored on 'Cancel'." ); } - // headline of a popup - boolean ret = Popup::YesNoHeadline( _("Removing FCoE VLAN device"), - popup_text ); + boolean ret = Popup::AnyQuestion( Label::WarningMsg(), + popup_text, + Label::ContinueButton(), + Label::CancelButton(), + `focus_no ); // default: Cancel if ( ret == true ) { -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
gs@svn2.opensuse.org