[gnome-boxes] app: Cancel connection on going to COLLECTION view
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] app: Cancel connection on going to COLLECTION view
- Date: Fri, 5 Apr 2013 16:28:15 +0000 (UTC)
commit 993952ea4bd2056a9daad6131b52e4517a595cd4
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Thu Mar 28 03:38:10 2013 +0200
app: Cancel connection on going to COLLECTION view
Cancel in-progress connection to currently selected item when going back
to COLLECTION view.
https://bugzilla.gnome.org/show_bug.cgi?id=683465
src/app.vala | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/app.vala b/src/app.vala
index 936531d..c612e56 100644
--- a/src/app.vala
+++ b/src/app.vala
@@ -687,6 +687,8 @@ private class Boxes.App: Boxes.UI {
machine.disconnect (got_error_id);
got_error_id = 0;
}
+
+ machine.connecting_cancellable.cancel (); // Cancel any in-progress connections
}
fullscreen = false;
view.visible = true;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]