[gnome-boxes] Only entertain URI commandline argument once



commit 8f0c80ef538e0610162bcbc9ac06ded8083e2816
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Thu Nov 17 20:34:46 2011 +0200

    Only entertain URI commandline argument once
    
    https://bugzilla.gnome.org/show_bug.cgi?id=664292

 src/app.vala    |    2 +-
 src/wizard.vala |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/app.vala b/src/app.vala
index 410ee17..9dfe5d7 100644
--- a/src/app.vala
+++ b/src/app.vala
@@ -35,7 +35,7 @@ private class Boxes.App: Boxes.UI {
     public Wizard wizard;
     public Properties properties;
     public DisplayPage display_page;
-    public string? uri { get; private set; }
+    public string? uri { get; set; }
     public Collection collection;
 
     private Clutter.TableLayout box_table;
diff --git a/src/wizard.vala b/src/wizard.vala
index 78024f0..db45a2a 100644
--- a/src/wizard.vala
+++ b/src/wizard.vala
@@ -435,6 +435,7 @@ private class Boxes.Wizard: Boxes.UI {
                 page = WizardPage.SOURCE;
                 wizard_source.page = SourcePage.URL;
                 wizard_source.uri = app.uri;
+                app.uri = null;
             } else
                 page = WizardPage.INTRODUCTION;
             break;



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