setup: remove Add Project... button at end of tutorial
This commit is contained in:
parent
f2d8159d36
commit
dc3258a5f9
|
@ -41,7 +41,6 @@ namespace SparkleShare {
|
||||||
private NSButton SkipTutorialButton;
|
private NSButton SkipTutorialButton;
|
||||||
private NSButton OpenFolderButton;
|
private NSButton OpenFolderButton;
|
||||||
private NSButton FinishButton;
|
private NSButton FinishButton;
|
||||||
private NSButton AddProjectButton;
|
|
||||||
private NSImage SlideImage;
|
private NSImage SlideImage;
|
||||||
private NSImageView SlideImageView;
|
private NSImageView SlideImageView;
|
||||||
private NSForm UserInfoForm;
|
private NSForm UserInfoForm;
|
||||||
|
@ -567,14 +566,6 @@ namespace SparkleShare {
|
||||||
"to add one by hand."
|
"to add one by hand."
|
||||||
};
|
};
|
||||||
|
|
||||||
AddProjectButton = new NSButton () {
|
|
||||||
Title = "Add Project…"
|
|
||||||
};
|
|
||||||
|
|
||||||
AddProjectButton.Activated += delegate {
|
|
||||||
Controller.TutorialPageCompleted ();
|
|
||||||
};
|
|
||||||
|
|
||||||
FinishButton = new NSButton () {
|
FinishButton = new NSButton () {
|
||||||
Title = "Finish"
|
Title = "Finish"
|
||||||
};
|
};
|
||||||
|
@ -600,7 +591,6 @@ namespace SparkleShare {
|
||||||
ContentView.AddSubview (SlideImageView);
|
ContentView.AddSubview (SlideImageView);
|
||||||
ContentView.AddSubview (AddProjectTextField);
|
ContentView.AddSubview (AddProjectTextField);
|
||||||
Buttons.Add (FinishButton);
|
Buttons.Add (FinishButton);
|
||||||
Buttons.Add (AddProjectButton);
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -548,11 +548,6 @@ namespace SparkleShare {
|
||||||
|
|
||||||
Image slide = SparkleUIHelpers.GetImage ("tutorial-slide-4.png");
|
Image slide = SparkleUIHelpers.GetImage ("tutorial-slide-4.png");
|
||||||
|
|
||||||
Button add_project_button = new Button (_("Add Hosted Project…"));
|
|
||||||
add_project_button.Clicked += delegate {
|
|
||||||
Controller.TutorialPageCompleted ();
|
|
||||||
};
|
|
||||||
|
|
||||||
Button finish_button = new Button (_("Finish"));
|
Button finish_button = new Button (_("Finish"));
|
||||||
finish_button.Clicked += delegate {
|
finish_button.Clicked += delegate {
|
||||||
Close ();
|
Close ();
|
||||||
|
@ -564,8 +559,6 @@ namespace SparkleShare {
|
||||||
box.Add (label);
|
box.Add (label);
|
||||||
|
|
||||||
Add (box);
|
Add (box);
|
||||||
|
|
||||||
AddButton (add_project_button);
|
|
||||||
AddButton (finish_button);
|
AddButton (finish_button);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue