well nothing compared to Yann.. :$

This commit is contained in:
Nikos Kouremenos 2005-11-03 22:47:26 +00:00
parent 4704a591b1
commit 4dbfdc33d4
2 changed files with 9 additions and 7 deletions

View File

@ -1633,10 +1633,10 @@ class AccountsWindow:
def on_new_button_clicked(self, widget): def on_new_button_clicked(self, widget):
'''When new button is clicked: open an account information window''' '''When new button is clicked: open an account information window'''
if gajim.interface.windows.has_key('wizard_window'): if gajim.interface.windows.has_key('account_creation_wizard'):
gajim.interface.windows['wizard_window'].window.present() gajim.interface.windows['account_creation_wizard'].window.present()
else: else:
gajim.interface.windows['wizard_window'] = \ gajim.interface.windows['account_creation_wizard'] = \
AccountCreationWizardWindow() AccountCreationWizardWindow()
def on_remove_button_clicked(self, widget): 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: class AccountCreationWizardWindow:
def __init__(self): def __init__(self):
self.xml = gtk.glade.XML(GTKGUI_GLADE, 'wizard_window', APP) self.xml = gtk.glade.XML(GTKGUI_GLADE, 'account_creation_wizard_window', APP)
self.window = self.xml.get_widget('wizard_window') self.window = self.xml.get_widget('account_creation_wizard_window')
# Connect events from comboboxentry.child # Connect events from comboboxentry.child
server_comboboxentry = self.xml.get_widget('server_comboboxentry') server_comboboxentry = self.xml.get_widget('server_comboboxentry')
@ -2457,7 +2457,7 @@ class AccountCreationWizardWindow:
self.window.show_all() self.window.show_all()
def on_wizard_window_destroy(self, widget): 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): 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/')

View File

@ -13483,7 +13483,7 @@ Status message</property>
</child> </child>
</widget> </widget>
<widget class="GtkWindow" id="wizard_window"> <widget class="GtkWindow" id="account_creation_wizard_window">
<property name="border_width">12</property> <property name="border_width">12</property>
<property name="title" translatable="yes">Gajim: Account Creation Wizard</property> <property name="title" translatable="yes">Gajim: Account Creation Wizard</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property> <property name="type">GTK_WINDOW_TOPLEVEL</property>
@ -13719,6 +13719,7 @@ to the Jabber network.</property>
<widget class="GtkEntry" id="nick_entry"> <widget class="GtkEntry" id="nick_entry">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="has_focus">True</property>
<property name="editable">True</property> <property name="editable">True</property>
<property name="visibility">True</property> <property name="visibility">True</property>
<property name="max_length">0</property> <property name="max_length">0</property>
@ -14410,6 +14411,7 @@ to the Jabber network.</property>
<widget class="GtkButton" id="forward_button"> <widget class="GtkButton" id="forward_button">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_default">True</property> <property name="can_default">True</property>
<property name="has_default">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="label">gtk-media-forward</property> <property name="label">gtk-media-forward</property>
<property name="use_stock">True</property> <property name="use_stock">True</property>