[gnome-boxes] Don't show wrong sidebar in collection view



commit 6a6f3c7f418804f17b7c6afb8d5b76dcf0efba0e
Author: Alexander Larsson <alexl redhat com>
Date:   Tue Jun 19 19:48:55 2012 +0200

    Don't show wrong sidebar in collection view
    
    We don't show any sidebar in collection view, so there is no
    need to change the sidebar page. This fixes it temporarily
    showing the wrong thing when cancelling a new box operation.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=677274

 src/sidebar.vala |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/sidebar.vala b/src/sidebar.vala
index d3d5174..bbe1170 100644
--- a/src/sidebar.vala
+++ b/src/sidebar.vala
@@ -28,7 +28,6 @@ private class Boxes.Sidebar: Boxes.UI {
         switch (ui_state) {
         case UIState.COLLECTION:
             App.app.sidebar_revealer.unreveal ();
-            notebook.page = SidebarPage.COLLECTION;
             break;
 
         default:



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