[gnome-boxes] machine: Update screenshot on machine disconnect



commit dad7213d39c35676770b91ad5fd66dfc65db0f88
Author: Lasse Schuirmann <lasse schuirmann gmail com>
Date:   Fri Sep 5 18:22:16 2014 +0200

    machine: Update screenshot on machine disconnect
    
    If a machine disconnects we want to update the screenshot so if the user
    is at the properties view he will get an indication that it is no longer
    running.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=736140

 src/machine.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/machine.vala b/src/machine.vala
index 74ea5c5..76bcedc 100644
--- a/src/machine.vala
+++ b/src/machine.vala
@@ -158,6 +158,8 @@ private abstract class Boxes.Machine: Boxes.CollectionItem, Boxes.IPropertiesPro
                     if (failed)
                         window.notificationbar.display_error (_("Connection to '%s' failed").printf (name));
                 }
+
+                load_screenshot ();
             });
 
             need_password_id = _display.notify["need-password"].connect (handle_auth);


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