[gnome-boxes] vnc, spice: save access time
- From: Marc-Andre Lureau <malureau src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] vnc, spice: save access time
- Date: Thu, 9 Aug 2012 12:22:27 +0000 (UTC)
commit cf553f6c830aa01390a7170f7225b3c122b565e8
Author: Marc-Andrà Lureau <marcandre lureau gmail com>
Date: Fri Aug 3 04:10:59 2012 +0200
vnc, spice: save access time
https://bugzilla.gnome.org/show_bug.cgi?id=681104
src/spice-display.vala | 2 ++
src/vnc-display.vala | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/spice-display.vala b/src/spice-display.vala
index f19912b..ff6f85d 100644
--- a/src/spice-display.vala
+++ b/src/spice-display.vala
@@ -111,6 +111,7 @@ private class Boxes.SpiceDisplay: Boxes.Display, Boxes.IPropertiesProvider {
if (id != 0)
return;
+ access_start ();
try {
var display = get_display (id) as Spice.Display;
display.notify["ready"].connect (() => {
@@ -128,6 +129,7 @@ private class Boxes.SpiceDisplay: Boxes.Display, Boxes.IPropertiesProvider {
if (channel is Spice.DisplayChannel) {
var display = channel as DisplayChannel;
hide (display.channel_id);
+ access_finish ();
}
});
diff --git a/src/vnc-display.vala b/src/vnc-display.vala
index b9bb48d..5fc7232 100644
--- a/src/vnc-display.vala
+++ b/src/vnc-display.vala
@@ -31,9 +31,11 @@ private class Boxes.VncDisplay: Boxes.Display {
display.vnc_initialized.connect (() => {
show (0);
+ access_start ();
});
display.vnc_disconnected.connect (() => {
hide (0);
+ access_finish ();
});
display.vnc_auth_failure.connect (() => {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]