[gnome-boxes] Fix item zooming after properties shown



commit e84a9e9b685b2c1891212b46efbad2833279b4b3
Author: Alexander Larsson <alexl redhat com>
Date:   Tue Jun 19 19:35:56 2012 +0200

    Fix item zooming after properties shown
    
    We hide the current item when showing the properties view, we need
    to show it when zooming it back to the collection view.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=678456

 src/collection-view.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/collection-view.vala b/src/collection-view.vala
index 1b707a8..dfb03f0 100644
--- a/src/collection-view.vala
+++ b/src/collection-view.vala
@@ -45,6 +45,8 @@ private class Boxes.CollectionView: Boxes.UI {
             icon_view.unselect_all ();
             if (current_item != null) {
                 var actor = current_item.actor;
+                actor.show ();
+
                 App.app.overlay_bin.set_alignment (actor,
                                                    Clutter.BinAlignment.FIXED,
                                                    Clutter.BinAlignment.FIXED);



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