From f312a1fbb10ffbc450429d2788b02fe0aea0b6a1 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Mon, 13 Jun 2011 17:32:05 +0100 Subject: [PATCH] intro: remove progressbar from parent when cloning a second time --- SparkleShare/SparkleIntro.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SparkleShare/SparkleIntro.cs b/SparkleShare/SparkleIntro.cs index 2184d8a3..b750827e 100644 --- a/SparkleShare/SparkleIntro.cs +++ b/SparkleShare/SparkleIntro.cs @@ -558,6 +558,9 @@ namespace SparkleShare { }); }; + if (this,progress_bar.Parent != null) + this.progress_bar.Parent.Remove (this.progress_bar); + layout_vertical.PackStart (this.progress_bar, false, false, 54); Add (layout_vertical);