[gnome-boxes/gnome-3-12] wizard: Complete cleanup on cancellation
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes/gnome-3-12] wizard: Complete cleanup on cancellation
- Date: Tue, 25 Mar 2014 17:35:27 +0000 (UTC)
commit 735fb1f164fe4decdb277f854fcab2590a715c51
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Tue Mar 25 15:19:56 2014 +0000
wizard: Complete cleanup on cancellation
Cleanup all state on cancellation of wizard.
https://bugzilla.gnome.org/show_bug.cgi?id=726967
src/wizard.vala | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/wizard.vala b/src/wizard.vala
index fe48f0a..55da2b7 100644
--- a/src/wizard.vala
+++ b/src/wizard.vala
@@ -537,8 +537,7 @@ private class Boxes.Wizard: Gtk.Stack, Boxes.UI {
public void setup_ui () {
cancel_button = App.window.topbar.wizard_cancel_btn;
cancel_button.clicked.connect (() => {
- destroy_machine ();
- vm_creator = null;
+ cleanup ();
wizard_source.page = SourcePage.MAIN;
App.app.set_state (UIState.COLLECTION);
});
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]