well nothing compared to Yann.. :$
This commit is contained in:
parent
4704a591b1
commit
4dbfdc33d4
|
@ -1633,10 +1633,10 @@ class AccountsWindow:
|
|||
|
||||
def on_new_button_clicked(self, widget):
|
||||
'''When new button is clicked: open an account information window'''
|
||||
if gajim.interface.windows.has_key('wizard_window'):
|
||||
gajim.interface.windows['wizard_window'].window.present()
|
||||
if gajim.interface.windows.has_key('account_creation_wizard'):
|
||||
gajim.interface.windows['account_creation_wizard'].window.present()
|
||||
else:
|
||||
gajim.interface.windows['wizard_window'] = \
|
||||
gajim.interface.windows['account_creation_wizard'] = \
|
||||
AccountCreationWizardWindow()
|
||||
|
||||
def on_remove_button_clicked(self, widget):
|
||||
|
@ -2412,8 +2412,8 @@ _('Please be sure to fill out server and room fields or remove this bookmark.'))
|
|||
|
||||
class AccountCreationWizardWindow:
|
||||
def __init__(self):
|
||||
self.xml = gtk.glade.XML(GTKGUI_GLADE, 'wizard_window', APP)
|
||||
self.window = self.xml.get_widget('wizard_window')
|
||||
self.xml = gtk.glade.XML(GTKGUI_GLADE, 'account_creation_wizard_window', APP)
|
||||
self.window = self.xml.get_widget('account_creation_wizard_window')
|
||||
|
||||
# Connect events from comboboxentry.child
|
||||
server_comboboxentry = self.xml.get_widget('server_comboboxentry')
|
||||
|
@ -2457,7 +2457,7 @@ class AccountCreationWizardWindow:
|
|||
self.window.show_all()
|
||||
|
||||
def on_wizard_window_destroy(self, widget):
|
||||
del gajim.interface.windows['wizard_window']
|
||||
del gajim.interface.windows['account_creation_wizard']
|
||||
|
||||
def on_register_server_features_button_clicked(self, widget):
|
||||
helpers.launch_browser_mailer('url', 'http://www.jabber.org/network/')
|
||||
|
|
|
@ -13483,7 +13483,7 @@ Status message</property>
|
|||
</child>
|
||||
</widget>
|
||||
|
||||
<widget class="GtkWindow" id="wizard_window">
|
||||
<widget class="GtkWindow" id="account_creation_wizard_window">
|
||||
<property name="border_width">12</property>
|
||||
<property name="title" translatable="yes">Gajim: Account Creation Wizard</property>
|
||||
<property name="type">GTK_WINDOW_TOPLEVEL</property>
|
||||
|
@ -13719,6 +13719,7 @@ to the Jabber network.</property>
|
|||
<widget class="GtkEntry" id="nick_entry">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="has_focus">True</property>
|
||||
<property name="editable">True</property>
|
||||
<property name="visibility">True</property>
|
||||
<property name="max_length">0</property>
|
||||
|
@ -14410,6 +14411,7 @@ to the Jabber network.</property>
|
|||
<widget class="GtkButton" id="forward_button">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_default">True</property>
|
||||
<property name="has_default">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="label">gtk-media-forward</property>
|
||||
<property name="use_stock">True</property>
|
||||
|
|
Loading…
Reference in New Issue