add a go online checkbutton at the end of wizard
This commit is contained in:
parent
fcb9d9628f
commit
42b897bb31
2 changed files with 64 additions and 25 deletions
|
@ -2450,6 +2450,9 @@ class AccountCreationWizardWindow:
|
||||||
self.xml.signal_autoconnect(self)
|
self.xml.signal_autoconnect(self)
|
||||||
self.window.show_all()
|
self.window.show_all()
|
||||||
|
|
||||||
|
def on_wizard_window_destroy(self, widget):
|
||||||
|
del gajim.interface.windows['wizard_window']
|
||||||
|
|
||||||
def on_register_server_features_button_clicked(self, widget):
|
def on_register_server_features_button_clicked(self, widget):
|
||||||
helpers.launch_browser_mailer('url', 'http://www.jabber.org/network/')
|
helpers.launch_browser_mailer('url', 'http://www.jabber.org/network/')
|
||||||
|
|
||||||
|
@ -2535,7 +2538,10 @@ class AccountCreationWizardWindow:
|
||||||
self.window.destroy()
|
self.window.destroy()
|
||||||
|
|
||||||
def on_finish_button_clicked(self, widget):
|
def on_finish_button_clicked(self, widget):
|
||||||
|
go_online = self.xml.get_widget('go_online_checkbutton')
|
||||||
self.window.destroy()
|
self.window.destroy()
|
||||||
|
if go_online:
|
||||||
|
gajim.interface.roster.send_status(self.account, 'online', '')
|
||||||
|
|
||||||
def on_nick_entry_changed(self, widget):
|
def on_nick_entry_changed(self, widget):
|
||||||
self.update_jid(widget)
|
self.update_jid(widget)
|
||||||
|
|
|
@ -13497,6 +13497,7 @@ Status message</property>
|
||||||
<property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
|
<property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
|
||||||
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
|
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
|
||||||
<property name="focus_on_map">True</property>
|
<property name="focus_on_map">True</property>
|
||||||
|
<signal name="destroy" handler="on_wizard_window_destroy" last_modification_time="Thu, 03 Nov 2005 22:08:55 GMT"/>
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
<widget class="GtkVBox" id="vbox77">
|
<widget class="GtkVBox" id="vbox77">
|
||||||
|
@ -14255,6 +14256,12 @@ to the Jabber network.</property>
|
||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
|
|
||||||
|
<child>
|
||||||
|
<widget class="GtkVBox" id="vbox103">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="homogeneous">False</property>
|
||||||
|
<property name="spacing">0</property>
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
<widget class="GtkHBox" id="hbox2986">
|
<widget class="GtkHBox" id="hbox2986">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
|
@ -14303,6 +14310,32 @@ to the Jabber network.</property>
|
||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
</widget>
|
</widget>
|
||||||
|
<packing>
|
||||||
|
<property name="padding">0</property>
|
||||||
|
<property name="expand">True</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
|
||||||
|
<child>
|
||||||
|
<widget class="GtkCheckButton" id="go_online_checkbutton">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="label" translatable="yes">Go Online when I press Finish</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
|
<property name="relief">GTK_RELIEF_NORMAL</property>
|
||||||
|
<property name="focus_on_click">True</property>
|
||||||
|
<property name="active">False</property>
|
||||||
|
<property name="inconsistent">False</property>
|
||||||
|
<property name="draw_indicator">True</property>
|
||||||
|
</widget>
|
||||||
|
<packing>
|
||||||
|
<property name="padding">0</property>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">False</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
</widget>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="tab_expand">False</property>
|
<property name="tab_expand">False</property>
|
||||||
<property name="tab_fill">True</property>
|
<property name="tab_fill">True</property>
|
||||||
|
|
Loading…
Add table
Reference in a new issue