From f1abda5f054dab3e581a078d3bc9045673aaafcd Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Tue, 6 Mar 2012 20:26:05 +0000 Subject: [PATCH] windows setup: add fourth tutorial slide --- SparkleShare/Mac/SparkleSetup.cs | 1 + SparkleShare/Windows/SparkleSetup.cs | 13 ++++++++++++- SparkleShare/Windows/SparkleShare.csproj | 4 ++-- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/SparkleShare/Mac/SparkleSetup.cs b/SparkleShare/Mac/SparkleSetup.cs index d8717e20..cdc028b3 100755 --- a/SparkleShare/Mac/SparkleSetup.cs +++ b/SparkleShare/Mac/SparkleSetup.cs @@ -757,6 +757,7 @@ namespace SparkleShare { Image = SlideImage, Frame = new RectangleF (215, Frame.Height - 215, 350, 64) }; + ContentView.AddSubview (SlideImageView); ContentView.AddSubview (StartupCheckButton); diff --git a/SparkleShare/Windows/SparkleSetup.cs b/SparkleShare/Windows/SparkleSetup.cs index d51bb8d0..4c438a87 100644 --- a/SparkleShare/Windows/SparkleSetup.cs +++ b/SparkleShare/Windows/SparkleSetup.cs @@ -527,7 +527,14 @@ namespace SparkleShare { Button finish_button = new Button () { Content = "Finish" - }; + }; + + WPF.Image slide_image = new WPF.Image () { + Width = 350, + Height = 64 + }; + + slide_image.Source = SparkleUIHelpers.GetBitmap ("tutorial-slide-4"); CheckBox check_box = new CheckBox () { Content = "Add SparkleShare to startup items", @@ -535,6 +542,10 @@ namespace SparkleShare { }; + 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); diff --git a/SparkleShare/Windows/SparkleShare.csproj b/SparkleShare/Windows/SparkleShare.csproj index 145b8174..cacec887 100644 --- a/SparkleShare/Windows/SparkleShare.csproj +++ b/SparkleShare/Windows/SparkleShare.csproj @@ -223,8 +223,8 @@ plugins\bitbucket.png Always - - Pixmaps\process-syncing-sparkleshare-mac-i.png + + Pixmaps\tutorial-slide-4.png