[gnome-boxes] display-page: Update toolbar visibility on showing the display



commit 48640befce1aa5e2c89761274a787ae601478abf
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Wed May 22 20:10:19 2013 +0300

    display-page: Update toolbar visibility on showing the display
    
    The code to make toolbar visible on mouse becoming grabable wasn't
    working when mouse was grabable before display was shown. This patch
    fixes that by updating the toolbar visibility each time display is
    shown.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=700574

 src/display-page.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/display-page.vala b/src/display-page.vala
index a9fc13a..a29f855 100644
--- a/src/display-page.vala
+++ b/src/display-page.vala
@@ -304,6 +304,7 @@ private class Boxes.DisplayPage: GLib.Object {
                 return false;
             });
         });
+        update_toolbar_visible ();
         display_can_grab_id = display.notify["can-grab-mouse"].connect(() => {
             update_toolbar_visible ();
         });


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