[gnome-boxes] wizard: clear URL entry



commit 9417bc6ba1702b1970855945c45d9b3681b8f35e
Author: Marc-Andrà Lureau <marcandre lureau gmail com>
Date:   Wed Sep 5 12:17:36 2012 +0200

    wizard: clear URL entry
    
    The wizard URL should be cleared when starting the wizard again.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=680827

 src/wizard.vala |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/wizard.vala b/src/wizard.vala
index 7078816..2ab127c 100644
--- a/src/wizard.vala
+++ b/src/wizard.vala
@@ -608,8 +608,10 @@ private class Boxes.Wizard: Boxes.UI {
         case UIState.WIZARD:
             if (previous_ui_state == UIState.PROPERTIES)
                 review.begin ();
-            else
+            else {
+                wizard_source.uri = "";
                 page = WizardPage.INTRODUCTION;
+            }
             opacity = 255;
             break;
         }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]