File setnextbutton.diff of Package yast2-drbd

Index: yast2-drbd-2.13.1/src/common.ycp
===================================================================
--- yast2-drbd-2.13.1.orig/src/common.ycp	2006-12-22 16:50:16.000000000 +0800
+++ yast2-drbd-2.13.1/src/common.ycp	2008-10-02 11:30:54.000000000 +0800
@@ -47,10 +47,10 @@
 //			UI::ChangeWidget(`id(`back), `Enabled, conf != "node_conf");
 //			if (conf == "startup_conf") {
 //				UI::WizardCommand(`SetNextButtonLabel( Label::FinishButton() ) );
-//				Wizard::ReplaceNextButton(`PushButton(`id(`next), `opt(`key_F10), Label::FinishButton()));
+//				Wizard::SetNextButton(`PushButton(`id(`next), `opt(`key_F10), Label::FinishButton()));
 //			} else {
 //				UI::WizardCommand(`SetNextButtonLabel( Label::NextButton() ) );
-//				Wizard::ReplaceNextButton(`PushButton(`id(`next), `opt(`key_F10), Label::NextButton()));
+//				Wizard::SetNextButton(`PushButton(`id(`next), `opt(`key_F10), Label::NextButton()));
 //			}
 //		}
 	}
Index: yast2-drbd-2.13.1/src/wizards.ycp
===================================================================
--- yast2-drbd-2.13.1.orig/src/wizards.ycp	2006-12-28 14:03:32.000000000 +0800
+++ yast2-drbd-2.13.1/src/wizards.ycp	2008-10-02 11:30:23.000000000 +0800
@@ -67,7 +67,7 @@
     Wizard::CreateTree(tree, "DRBD");
 
     // Buttons redefinition
-    Wizard::ReplaceNextButton(`PushButton(`id(`next), `opt(`key_F10), Label::FinishButton()));
+    Wizard::SetNextButton(`PushButton(`id(`next), `opt(`key_F10), Label::FinishButton()));
 
     if (UI::WidgetExists(`id(`wizardTree))) {
         Wizard::ReplaceBackButton(`PushButton(`id(`help), `opt(`key_F1), Label::HelpButton()));