[gnome-boxes] wizard: Don't try to create the box in two places
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] wizard: Don't try to create the box in two places
- Date: Wed, 21 May 2014 18:20:35 +0000 (UTC)
commit cce4eb9dbef4fe563fd9457b9c681fdac990a66a
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Wed May 21 19:11:15 2014 +0100
wizard: Don't try to create the box in two places
'Create' button should only set the appropriate wizard page as the
appropriate page setter already handles the box creation.
src/wizard.vala | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/src/wizard.vala b/src/wizard.vala
index a685a76..e544763 100644
--- a/src/wizard.vala
+++ b/src/wizard.vala
@@ -551,12 +551,7 @@ private class Boxes.Wizard: Gtk.Stack, Boxes.UI {
});
create_button = App.window.topbar.wizard_create_btn;
create_button.clicked.connect (() => {
- create.begin ((obj, result) => {
- if (create.end (result))
- App.app.set_state (UIState.COLLECTION);
- else
- App.window.notificationbar.display_error (_("Box creation failed"));
- });
+ page = WizardPage.LAST;
});
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]