setup: prepare for last tutorial page work on linux/windows

This commit is contained in:
Hylke Bons 2012-10-26 23:40:20 +01:00
parent c88a0a5a4b
commit 9c6f2da072
3 changed files with 9 additions and 24 deletions

View file

@ -799,14 +799,14 @@ namespace SparkleShare {
}
case 4: {
Header = "Adding projects to SparkleShare";
Description = "You can do this through the status icon menu, or by clicking " +
"magic buttons on webpages that look like this:";
Image slide = SparkleUIHelpers.GetImage ("tutorial-slide-4.png");
Header = "Here's your unique link code";
Description = "You'll need it whenever you want to link this computer to a host" +
" (we keep a copy in your SparkleShare folder).";
Button finish_button = new Button ("Finish");
finish_button.Clicked += delegate {
finish_button.Clicked += delegate {
Controller.TutorialPageCompleted ();
};
@ -819,7 +819,6 @@ namespace SparkleShare {
Controller.StartupItemChanged (check_button.Active);
};
Add (slide);
AddOption (check_button);
AddButton (finish_button);

View file

@ -909,32 +909,21 @@ namespace SparkleShare {
}
case 4: {
Header = "Adding projects to SparkleShare";
Description = "You can do this through the status icon menu, or by clicking " +
"magic buttons on webpages that look like this:";
Header = "Here's your unique link code";
Description = "You'll need it whenever you want to link this computer to a host" +
" (we keep a copy in your SparkleShare folder).";
Button finish_button = new Button () {
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 () {
Content = "Add SparkleShare to startup items",
IsChecked = true
};
ContentCanvas.Children.Add (slide_image);
Canvas.SetLeft (slide_image, 215);
Canvas.SetTop (slide_image, 130);
ContentCanvas.Children.Add (check_box);
Canvas.SetLeft (check_box, 185);
Canvas.SetBottom (check_box, 12);

View file

@ -143,9 +143,6 @@
<EmbeddedResource Include="..\Common\Pixmaps\side-splash.png">
<Link>Pixmaps\side-splash.png</Link>
</EmbeddedResource>
<EmbeddedResource Include="..\Common\Pixmaps\tutorial-slide-4.png">
<Link>Pixmaps\tutorial-slide-4.png</Link>
</EmbeddedResource>
<EmbeddedResource Include="..\Common\HTML\day-entry.html">
<Link>HTML\day-entry.html</Link>
</EmbeddedResource>