[gnome-boxes] app: Don't make view invisible on launching a box



commit 5915e8fe6fe386ff117ff21ace4dabbff22f3dcf
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Mon Mar 10 13:43:48 2014 +0000

    app: Don't make view invisible on launching a box
    
    When launching a box because of commandline argument, we were making the
    view invisible. We used to make the actor holding the view invisible
    instead and that made sense but now that view is not inside an actor, we
    only switch the stack pages intead. So the removed code doesn't just not
    make sense anymore but its also that it doesnt' work and only amounts to
    Boxes show a spinner forevever if a commandline argument is passed.

 src/app.vala |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/app.vala b/src/app.vala
index a28e5fa..4ac2474 100644
--- a/src/app.vala
+++ b/src/app.vala
@@ -294,9 +294,6 @@ private class Boxes.App: Gtk.Application, Boxes.UI {
 
     public void open_name (string name) {
         set_state (UIState.COLLECTION);
-        // we don't want to show the collection items as it will
-        // appear as a glitch when opening a box immediately
-        window.view.visible = false;
 
         // after "ready" all items should be listed
         foreach (var item in collection.items.data) {
@@ -310,9 +307,6 @@ private class Boxes.App: Gtk.Application, Boxes.UI {
 
     public bool open_uuid (string uuid) {
         set_state (UIState.COLLECTION);
-        // we don't want to show the collection items as it will
-        // appear as a glitch when opening a box immediately
-        window.view.visible = false;
 
         // after "ready" all items should be listed
         foreach (var item in collection.items.data) {


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