setup: prepare for last tutorial page work on linux/windows
This commit is contained in:
parent
af626eb1e8
commit
afb349fe27
|
@ -799,14 +799,14 @@ namespace SparkleShare {
|
||||||
}
|
}
|
||||||
|
|
||||||
case 4: {
|
case 4: {
|
||||||
Header = "Adding projects to SparkleShare";
|
Header = "Here's your unique link code";
|
||||||
Description = "You can do this through the status icon menu, or by clicking " +
|
Description = "You'll need it whenever you want to link this computer to a host" +
|
||||||
"magic buttons on webpages that look like this:";
|
" (we keep a copy in your SparkleShare folder).";
|
||||||
|
|
||||||
Image slide = SparkleUIHelpers.GetImage ("tutorial-slide-4.png");
|
|
||||||
|
|
||||||
|
|
||||||
Button finish_button = new Button ("Finish");
|
Button finish_button = new Button ("Finish");
|
||||||
finish_button.Clicked += delegate {
|
|
||||||
|
finish_button.Clicked += delegate {
|
||||||
Controller.TutorialPageCompleted ();
|
Controller.TutorialPageCompleted ();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -819,7 +819,6 @@ namespace SparkleShare {
|
||||||
Controller.StartupItemChanged (check_button.Active);
|
Controller.StartupItemChanged (check_button.Active);
|
||||||
};
|
};
|
||||||
|
|
||||||
Add (slide);
|
|
||||||
AddOption (check_button);
|
AddOption (check_button);
|
||||||
AddButton (finish_button);
|
AddButton (finish_button);
|
||||||
|
|
||||||
|
|
|
@ -909,32 +909,21 @@ namespace SparkleShare {
|
||||||
}
|
}
|
||||||
|
|
||||||
case 4: {
|
case 4: {
|
||||||
Header = "Adding projects to SparkleShare";
|
Header = "Here's your unique link code";
|
||||||
Description = "You can do this through the status icon menu, or by clicking " +
|
Description = "You'll need it whenever you want to link this computer to a host" +
|
||||||
"magic buttons on webpages that look like this:";
|
" (we keep a copy in your SparkleShare folder).";
|
||||||
|
|
||||||
|
|
||||||
Button finish_button = new Button () {
|
Button finish_button = new Button () {
|
||||||
Content = "Finish"
|
Content = "Finish"
|
||||||
};
|
};
|
||||||
|
|
||||||
WPF.Image slide_image = new WPF.Image () {
|
|
||||||
Width = 350,
|
|
||||||
Height = 64
|
|
||||||
};
|
|
||||||
|
|
||||||
slide_image.Source = SparkleUIHelpers.GetImageSource ("tutorial-slide-4");
|
|
||||||
|
|
||||||
CheckBox check_box = new CheckBox () {
|
CheckBox check_box = new CheckBox () {
|
||||||
Content = "Add SparkleShare to startup items",
|
Content = "Add SparkleShare to startup items",
|
||||||
IsChecked = true
|
IsChecked = true
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
ContentCanvas.Children.Add (slide_image);
|
|
||||||
Canvas.SetLeft (slide_image, 215);
|
|
||||||
Canvas.SetTop (slide_image, 130);
|
|
||||||
|
|
||||||
ContentCanvas.Children.Add (check_box);
|
ContentCanvas.Children.Add (check_box);
|
||||||
Canvas.SetLeft (check_box, 185);
|
Canvas.SetLeft (check_box, 185);
|
||||||
Canvas.SetBottom (check_box, 12);
|
Canvas.SetBottom (check_box, 12);
|
||||||
|
|
|
@ -143,9 +143,6 @@
|
||||||
<EmbeddedResource Include="..\Common\Pixmaps\side-splash.png">
|
<EmbeddedResource Include="..\Common\Pixmaps\side-splash.png">
|
||||||
<Link>Pixmaps\side-splash.png</Link>
|
<Link>Pixmaps\side-splash.png</Link>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="..\Common\Pixmaps\tutorial-slide-4.png">
|
|
||||||
<Link>Pixmaps\tutorial-slide-4.png</Link>
|
|
||||||
</EmbeddedResource>
|
|
||||||
<EmbeddedResource Include="..\Common\HTML\day-entry.html">
|
<EmbeddedResource Include="..\Common\HTML\day-entry.html">
|
||||||
<Link>HTML\day-entry.html</Link>
|
<Link>HTML\day-entry.html</Link>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
|
|
Loading…
Reference in a new issue