[gnome-boxes] Make sure new remote VMs are marked as used recently
- From: Christophe Fergeau <teuf src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] Make sure new remote VMs are marked as used recently
- Date: Tue, 28 May 2013 14:33:52 +0000 (UTC)
commit 5c299674202d187cb33cf47beff220c9c8ba820b
Author: Christophe Fergeau <cfergeau redhat com>
Date: Mon May 27 14:39:51 2013 +0200
Make sure new remote VMs are marked as used recently
When creating a VM for a remote connection (SPICE/VNC) we don't
connect to its display automatically but run it minimized. This means
it never gets marked as recently used automatically as this is
done in the Display class. This commit sets Machine::access_last_time
when creating a RemoteMachine instance to ensure the newly created VM
appears first in the collection view.
https://bugzilla.gnome.org/show_bug.cgi?id=700777
src/remote-machine.vala | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/remote-machine.vala b/src/remote-machine.vala
index 9c3d349..a4911e9 100644
--- a/src/remote-machine.vala
+++ b/src/remote-machine.vala
@@ -15,6 +15,7 @@ private class Boxes.RemoteMachine: Boxes.Machine, Boxes.IPropertiesProvider {
create_display_config ();
source.bind_property ("name", this, "name", BindingFlags.DEFAULT);
+ config.access_last_time = get_real_time ();
load_screenshot ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]