[gnome-boxes] properties: go back to display when clicking thumbnail
- From: Marc-Andre Lureau <malureau src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-boxes] properties: go back to display when clicking thumbnail
- Date: Tue, 30 Oct 2012 18:28:35 +0000 (UTC)
commit 2c19ae71ec38ec5f2c592ae5e0407fad7d317d47
Author: Marc-Andrà Lureau <marcandre lureau gmail com>
Date:   Sat Oct 27 02:19:28 2012 +0200
    properties: go back to display when clicking thumbnail
    
    https://bugzilla.gnome.org/show_bug.cgi?id=686940
 src/machine.vala |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/machine.vala b/src/machine.vala
index d4d29f5..6904684 100644
--- a/src/machine.vala
+++ b/src/machine.vala
@@ -561,6 +561,11 @@ private class Boxes.MachineActor: Boxes.UI {
 
         if (ui_state == UIState.PROPERTIES) {
             display = new GtkClutter.Actor.with_contents (widget);
+            var click = new Clutter.ClickAction ();
+            display.add_action (click);
+            click.clicked.connect (() => {
+                App.app.ui_state = Boxes.UIState.DISPLAY;
+            });
             display.name = "properties-thumbnail";
             display.x_align = Clutter.ActorAlign.FILL;
             display.y_align = Clutter.ActorAlign.FILL;
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]