diff --git a/glade/delugegtk.glade b/glade/delugegtk.glade index 99db1a8d2..3655db57a 100644 --- a/glade/delugegtk.glade +++ b/glade/delugegtk.glade @@ -1026,6 +1026,30 @@ GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + + + True + GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + Runs the first-time configuration wizard + _Run Configuration Wizard + True + + + + True + GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + gtk-preferences + 1 + + + + + + + True + GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + + True diff --git a/src/interface.py b/src/interface.py index ed496dfa1..0eaa01d09 100644 --- a/src/interface.py +++ b/src/interface.py @@ -170,6 +170,7 @@ class DelugeGTK: ## Help Menu "show_about_dialog": self.show_about_dialog, "launchpad": self.launchpad, + "run_wizard": self.run_wizard, ## Toolbar "tor_start": self.tor_start, "tor_pause": self.tor_pause, @@ -673,6 +674,10 @@ class DelugeGTK: def show_about_dialog(self, arg=None): dialogs.show_about_dialog() + def run_wizard(self, arg=None): + import wizard + wizard.WizardGTK() + def show_preferences_dialog(self): active_port = self.manager.get_state()['port'] preferences_dialog = dialogs.PreferencesDlg(self.config, active_port, self.plugins)