[gnome-boxes] wizard: Remove redundant source page



commit aeea399fe27ff024aebda9b4e9596460eb6b3012
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Wed Feb 8 02:49:33 2012 +0200

    wizard: Remove redundant source page
    
    https://bugzilla.gnome.org/show_bug.cgi?id=669771

 src/wizard-source.vala |    1 -
 src/wizard.vala        |    3 +--
 2 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/wizard-source.vala b/src/wizard-source.vala
index dd65ccb..1fd57a6 100644
--- a/src/wizard-source.vala
+++ b/src/wizard-source.vala
@@ -3,7 +3,6 @@
 private enum Boxes.SourcePage {
     MAIN,
     URL,
-    FILE,
 
     LAST,
 }
diff --git a/src/wizard.vala b/src/wizard.vala
index 815aac9..40d962b 100644
--- a/src/wizard.vala
+++ b/src/wizard.vala
@@ -239,8 +239,7 @@ private class Boxes.Wizard: Boxes.UI {
     }
 
     private void prepare () throws GLib.Error {
-        if (this.wizard_source.page == Boxes.SourcePage.URL ||
-            this.wizard_source.page == Boxes.SourcePage.FILE)
+        if (this.wizard_source.page == Boxes.SourcePage.URL)
             prepare_for_location (this.wizard_source.uri);
     }
 



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