[gnome-boxes] wizard: Run wizard_source_update_next on SOURCE page
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] wizard: Run wizard_source_update_next on SOURCE page
- Date: Mon, 3 Mar 2014 19:31:56 +0000 (UTC)
commit c249a5de648f082c53105784b7f6f25d50a53502
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Mon Mar 3 13:42:06 2014 +0000
wizard: Run wizard_source_update_next on SOURCE page
wizard_source_update_next() returns if page is not SOURCE and it gets
called before the page is actually set so it doesn't do anything,
including the disabling of 'Continue' button.
src/wizard.vala | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/wizard.vala b/src/wizard.vala
index 185b478..e1ef513 100644
--- a/src/wizard.vala
+++ b/src/wizard.vala
@@ -123,6 +123,9 @@ private class Boxes.Wizard: Gtk.Notebook, Boxes.UI {
base.switch_page (page_widget, page_num);
App.window.sidebar.set_wizard_page ((WizardPage) page_num);
+
+ if (page_num == WizardPage.SOURCE)
+ wizard_source_update_next ();
}
private void wizard_source_update_next () {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]