[gnome-boxes/wip/rishi/rhel: 16/17] wizard: Rename a method
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes/wip/rishi/rhel: 16/17] wizard: Rename a method
- Date: Fri, 6 Oct 2017 18:07:02 +0000 (UTC)
commit 72586809e4205d284ba8874f080b00424a96cf79
Author: Debarshi Ray <debarshir gnome org>
Date: Tue Sep 26 20:02:20 2017 +0200
wizard: Rename a method
In a following patch, this method will be used to update the back
button in addition to the next button.
https://bugzilla.gnome.org/show_bug.cgi?id=786679
src/wizard.vala | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/wizard.vala b/src/wizard.vala
index 64eb89b..5c051af 100644
--- a/src/wizard.vala
+++ b/src/wizard.vala
@@ -138,7 +138,7 @@ private class Boxes.Wizard: Gtk.Stack, Boxes.UI {
visible_child_name = page_names[value];
if (value == WizardPage.SOURCE)
- wizard_source_update_next ();
+ wizard_source_update_buttons ();
}
}
@@ -153,7 +153,7 @@ private class Boxes.Wizard: Gtk.Stack, Boxes.UI {
return progress;
}
- private void wizard_source_update_next () {
+ private void wizard_source_update_buttons () {
if (page != WizardPage.SOURCE)
return;
@@ -188,9 +188,9 @@ private class Boxes.Wizard: Gtk.Stack, Boxes.UI {
construct {
media_manager = MediaManager.get_instance ();
- wizard_source.notify["page"].connect(wizard_source_update_next);
- wizard_source.notify["selected"].connect(wizard_source_update_next);
- wizard_source.url_entry.changed.connect (wizard_source_update_next);
+ wizard_source.notify["page"].connect(wizard_source_update_buttons);
+ wizard_source.notify["selected"].connect(wizard_source_update_buttons);
+ wizard_source.url_entry.changed.connect (wizard_source_update_buttons);
notify["ui-state"].connect (ui_state_changed);
wizard_source.activated.connect(() => {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]