[gnome-boxes/wip/automated-tests: 8/29] app-window: Unschedule autosave when going to properties
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes/wip/automated-tests: 8/29] app-window: Unschedule autosave when going to properties
- Date: Sat, 31 Jan 2015 10:42:50 +0000 (UTC)
commit e14eb564950a13d2f9e8f75ce0db7f11b425d422
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Fri Jan 30 16:34:46 2015 +0000
app-window: Unschedule autosave when going to properties
When we go to properties of a machine, its not the case of the machine
being in background. Since properties can be launched directly from
collection view, we need to explicitly unschedule the autosave that was
scheduled when we entered collection view.
src/app-window.vala | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/app-window.vala b/src/app-window.vala
index dd10ebf..b86e4d3 100644
--- a/src/app-window.vala
+++ b/src/app-window.vala
@@ -205,6 +205,7 @@ private class Boxes.AppWindow: Gtk.ApplicationWindow, Boxes.UI {
case UIState.DISPLAY:
case UIState.WIZARD:
case UIState.PROPERTIES:
+ (current_item as Machine).unschedule_autosave ();
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]