remove unneeded tab in wizard

This commit is contained in:
Yann Leboulanger 2005-11-03 21:50:23 +00:00
parent 0696e75358
commit 4db0a0a608
2 changed files with 52 additions and 631 deletions

View File

@ -2410,13 +2410,9 @@ class AccountCreationWizardWindow:
self.window = self.xml.get_widget('wizard_window') self.window = self.xml.get_widget('wizard_window')
# Connect events from comboboxentry.child # Connect events from comboboxentry.child
server_comboboxentry = self.xml.get_widget('existing_server_comboboxentry') server_comboboxentry = self.xml.get_widget('server_comboboxentry')
server_comboboxentry.child.connect('key_press_event', server_comboboxentry.child.connect('key_press_event',
self.on_server_comboboxentry_key_press_event) self.on_server_comboboxentry_key_press_event)
register_server_comboboxentry = self.xml.get_widget(
'register_server_comboboxentry')
register_server_comboboxentry.child.connect('key_press_event',
self.on_server_comboboxentry_key_press_event)
# parse servers.xml # parse servers.xml
servers_xml = os.path.join(gajim.DATA_DIR, 'other', 'servers.xml') servers_xml = os.path.join(gajim.DATA_DIR, 'other', 'servers.xml')
@ -2428,8 +2424,6 @@ class AccountCreationWizardWindow:
# Put servers into comboboxentries # Put servers into comboboxentries
server_comboboxentry.set_model(servers_model) server_comboboxentry.set_model(servers_model)
server_comboboxentry.set_text_column(0) server_comboboxentry.set_text_column(0)
register_server_comboboxentry.set_model(servers_model)
register_server_comboboxentry.set_text_column(0)
# Generic widgets # Generic widgets
self.notebook = self.xml.get_widget('notebook') self.notebook = self.xml.get_widget('notebook')
@ -2460,12 +2454,7 @@ class AccountCreationWizardWindow:
helpers.launch_browser_mailer('url', 'http://www.jabber.org/network/') helpers.launch_browser_mailer('url', 'http://www.jabber.org/network/')
def on_save_password_checkbutton_toggled(self, widget): def on_save_password_checkbutton_toggled(self, widget):
if widget.get_name() == 'existing_save_password_checkbutton': self.xml.get_widget('pass_entry').grab_focus()
widget2 = self.xml.get_widget('existing_pass_entry')
if widget2.get_property('sensitive'):
widget2.set_sensitive(False)
else:
widget2.set_sensitive(True)
def on_cancel_button_clicked(self, widget): def on_cancel_button_clicked(self, widget):
self.window.destroy() self.window.destroy()
@ -2473,11 +2462,9 @@ class AccountCreationWizardWindow:
def on_back_button_clicked(self, widget): def on_back_button_clicked(self, widget):
if self.notebook.get_current_page() == 1: if self.notebook.get_current_page() == 1:
self.notebook.set_current_page(0) self.notebook.set_current_page(0)
elif self.notebook.get_current_page() == 2:
self.notebook.set_current_page(0)
self.back_button.set_sensitive(False) self.back_button.set_sensitive(False)
def get_widgets(self, prefix): def get_widgets(self):
widgets = {} widgets = {}
for widget in ( for widget in (
'nick_entry', 'nick_entry',
@ -2489,41 +2476,35 @@ class AccountCreationWizardWindow:
'proxyuser_entry', 'proxyuser_entry',
'proxypass_entry', 'proxypass_entry',
'jid_label'): 'jid_label'):
widgets[widget] = self.xml.get_widget(prefix + widget) widgets[widget] = self.xml.get_widget(widget)
return widgets return widgets
def get_matching_widgets(self, widget):
if widget.get_name().startswith('existing_'):
return self.get_widgets('existing_')
elif widget.get_name().startswith('register_'):
return self.get_widgets('register_')
def on_forward_button_clicked(self, widget): def on_forward_button_clicked(self, widget):
cur_page = self.notebook.get_current_page() cur_page = self.notebook.get_current_page()
if cur_page == 0: if cur_page == 0:
widget = self.xml.get_widget('use_existing_account_radiobutton') widget = self.xml.get_widget('use_existing_account_radiobutton')
if widget.get_active(): if widget.get_active():
self.notebook.set_current_page(1) self.modify = True
self.xml.get_widget('server_features_button').hide()
else: else:
self.notebook.set_current_page(2) self.modify = False
self.xml.get_widget('server_features_button').show()
self.notebook.set_current_page(1)
self.back_button.set_sensitive(True) self.back_button.set_sensitive(True)
return return
else: else:
if cur_page == 1: if self.modify:
widgets = self.get_widgets('existing_')
register_new = False
#FIXME: pango me #FIXME: pango me
finish_text = _('Account has been added successfully.\n' finish_text = _('Account has been added successfully.\n'
'You can set advanced account options by pressing Advanced button,\nor later by clicking in Accounts menuitem under Edit menu from the main window.') 'You can set advanced account options by pressing Advanced button,\nor later by clicking in Accounts menuitem under Edit menu from the main window.')
elif cur_page == 2: else:
widgets = self.get_widgets('register_')
register_new = True
#FIXME: pango me #FIXME: pango me
finish_text = _('Your new account has been created successfully.\n' finish_text = _('Your new account has been created successfully.\n'
'You can set advanced account options by pressing Advanced button,\nor later by clicking in Accounts menuitem under Edit menu from the main window.') 'You can set advanced account options by pressing Advanced button,\nor later by clicking in Accounts menuitem under Edit menu from the main window.')
widgets = self.get_widgets()
username = widgets['nick_entry'].get_text().decode('utf-8') username = widgets['nick_entry'].get_text().decode('utf-8')
server = widgets['server_comboboxentry'].child.get_text() server = widgets['server_comboboxentry'].child.get_text()
savepass = widgets['save_password_checkbutton'].get_active() savepass = widgets['save_password_checkbutton'].get_active()
@ -2539,15 +2520,14 @@ class AccountCreationWizardWindow:
return return
username, server = gajim.get_room_name_and_server_from_room_jid(jid) username, server = gajim.get_room_name_and_server_from_room_jid(jid)
self.save_account(self.account, username, server, savepass, password, self.save_account(self.account, username, server, savepass, password)
register_new)
self.finish_label.set_text(finish_text) self.finish_label.set_text(finish_text)
self.xml.get_widget('cancel_button').hide() self.xml.get_widget('cancel_button').hide()
self.back_button.hide() self.back_button.hide()
self.xml.get_widget('forward_button').hide() self.xml.get_widget('forward_button').hide()
self.finish_button.set_sensitive(True) self.finish_button.set_sensitive(True)
self.advanced_button.show() self.advanced_button.show()
self.notebook.set_current_page(3) self.notebook.set_current_page(2)
def on_advanced_button_clicked(self, widget): def on_advanced_button_clicked(self, widget):
gajim.interface.windows[self.account]['account_modification'] = \ gajim.interface.windows[self.account]['account_modification'] = \
@ -2566,41 +2546,44 @@ class AccountCreationWizardWindow:
def on_nick_entry_key_press_event(self, widget, event): def on_nick_entry_key_press_event(self, widget, event):
# Check for pressed @ and jump to combobox if found # Check for pressed @ and jump to combobox if found
if event.keyval == gtk.keysyms.at: if event.keyval == gtk.keysyms.at:
widgets = self.get_matching_widgets(widget) combobox = self.xml.get_widget('server_comboboxentry')
widgets['server_comboboxentry'].grab_focus() combobox.grab_focus()
widgets['server_comboboxentry'].child.set_position(-1) combobox.child.set_position(-1)
return True return True
def on_server_comboboxentry_key_press_event(self, widget, event): def on_server_comboboxentry_key_press_event(self, widget, event):
# If backspace is pressed in empty field, return to the nick entry field # If backspace is pressed in empty field, return to the nick entry field
widgets = self.get_matching_widgets(widget.parent)
backspace = event.keyval == gtk.keysyms.BackSpace backspace = event.keyval == gtk.keysyms.BackSpace
empty = len(widgets['server_comboboxentry'].get_active_text()) == 0 combobox = self.xml.get_widget('server_comboboxentry')
empty = len(combobox.get_active_text()) == 0
if backspace and empty: if backspace and empty:
widgets['nick_entry'].grab_focus() nick_entry = self.xml.get_widget('nick_entry')
widgets['nick_entry'].set_position(-1) nick_entry.grab_focus()
nick_entry.set_position(-1)
return True return True
def update_jid(self,widget): def update_jid(self,widget):
widgets = self.get_matching_widgets(widget) nick_entry = self.xml.get_widget('nick_entry')
name = widgets['nick_entry'].get_text().decode('utf-8') name = nick_entry.get_text().decode('utf-8')
server = widgets['server_comboboxentry'].get_active_text() combobox = self.xml.get_widget('server_comboboxentry')
server = combobox.get_active_text()
jid_label = self.xml.get_widget('jid_label')
if len(name) == 0 or len(server) == 0: if len(name) == 0 or len(server) == 0:
widgets['jid_label'].set_label('') jid_label.set_label('')
else: else:
string = '<span background="lightyellow">%s@%s</span>' % (name, server) string = '<span background="lightyellow">%s@%s</span>' % (name, server)
widgets['jid_label'].set_label(string) jid_label.set_label(string)
def save_account(self, name, login, server, savepass, password, new_account): def save_account(self, name, login, server, savepass, password):
if not self.modify and password == '':
dialogs.ErrorDialog(_('Invalid password'),
_('You must enter a password for the new account.')).get_response()
return
config = {} config = {}
config['name'] = login config['name'] = login
config['hostname'] = server config['hostname'] = server
config['savepass'] = savepass config['savepass'] = savepass
config['password'] = password config['password'] = password
if new_account and config['password'] == '':
dialogs.ErrorDialog(_('Invalid password'),
_('You must enter a password for the new account.')).get_response()
return
config['resource'] = 'Gajim' config['resource'] = 'Gajim'
config['priority'] = 5 config['priority'] = 5
config['autoconnect'] = self.autoconnect config['autoconnect'] = self.autoconnect
@ -2622,7 +2605,7 @@ class AccountCreationWizardWindow:
return return
con = connection.Connection(name) con = connection.Connection(name)
gajim.interface.register_handlers(con) gajim.interface.register_handlers(con)
if new_account: if not self.modify:
gajim.events_for_ui[name] = [] gajim.events_for_ui[name] = []
con.new_account(name, config) con.new_account(name, config)
return return

View File

@ -13507,7 +13507,8 @@ Status message</property>
<child> <child>
<widget class="GtkNotebook" id="notebook"> <widget class="GtkNotebook" id="notebook">
<property name="visible">True</property> <property name="visible">True</property>
<property name="show_tabs">False</property> <property name="can_focus">True</property>
<property name="show_tabs">True</property>
<property name="show_border">False</property> <property name="show_border">False</property>
<property name="tab_pos">GTK_POS_TOP</property> <property name="tab_pos">GTK_POS_TOP</property>
<property name="scrollable">False</property> <property name="scrollable">False</property>
@ -13673,569 +13674,6 @@ to the Jabber network.</property>
</packing> </packing>
</child> </child>
<child>
<widget class="GtkVBox" id="existing_vbox">
<property name="border_width">6</property>
<property name="visible">True</property>
<property name="homogeneous">False</property>
<property name="spacing">12</property>
<child>
<widget class="GtkLabel" id="label268">
<property name="visible">True</property>
<property name="label" translatable="yes">&lt;b&gt;Fill in the data for your existing account&lt;/b&gt;</property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child>
<widget class="GtkTable" id="table28">
<property name="visible">True</property>
<property name="n_rows">5</property>
<property name="n_columns">3</property>
<property name="homogeneous">False</property>
<property name="row_spacing">6</property>
<property name="column_spacing">12</property>
<child>
<widget class="GtkEntry" id="existing_nick_entry">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="editable">True</property>
<property name="visibility">True</property>
<property name="max_length">0</property>
<property name="text" translatable="yes"></property>
<property name="has_frame">True</property>
<property name="invisible_char">*</property>
<property name="activates_default">False</property>
<signal name="changed" handler="on_nick_entry_changed" last_modification_time="Sun, 24 Jul 2005 14:30:31 GMT"/>
<signal name="key_press_event" handler="on_nick_entry_key_press_event" last_modification_time="Mon, 12 Sep 2005 18:51:46 GMT"/>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">0</property>
<property name="bottom_attach">1</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label271">
<property name="visible">True</property>
<property name="label" translatable="yes">_Server:</property>
<property name="use_underline">True</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkComboBoxEntry" id="existing_server_comboboxentry">
<property name="visible">True</property>
<property name="add_tearoffs">False</property>
<property name="has_frame">True</property>
<property name="focus_on_click">True</property>
<signal name="changed" handler="on_server_comboboxentry_changed" last_modification_time="Thu, 08 Sep 2005 09:12:24 GMT"/>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="x_options">fill</property>
<property name="y_options">fill</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label272">
<property name="visible">True</property>
<property name="label" translatable="yes">_Password:</property>
<property name="use_underline">True</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="mnemonic_widget">existing_pass_entry</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkCheckButton" id="existing_save_password_checkbutton">
<property name="visible">True</property>
<property name="tooltip" translatable="yes">If checked, Gajim will remember the password for this account</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">Save pass_word</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">False</property>
<property name="active">False</property>
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
<signal name="toggled" handler="on_save_password_checkbutton_toggled" last_modification_time="Thu, 08 Sep 2005 09:13:20 GMT"/>
</widget>
<packing>
<property name="left_attach">2</property>
<property name="right_attach">3</property>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkEntry" id="existing_pass_entry">
<property name="visible">True</property>
<property name="sensitive">False</property>
<property name="can_focus">True</property>
<property name="editable">True</property>
<property name="visibility">False</property>
<property name="max_length">0</property>
<property name="text" translatable="yes"></property>
<property name="has_frame">True</property>
<property name="invisible_char">*</property>
<property name="activates_default">True</property>
<signal name="changed" handler="on_pass_entry_changed" last_modification_time="Thu, 08 Sep 2005 09:12:35 GMT"/>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label275">
<property name="visible">True</property>
<property name="label" translatable="yes">_Nickname:</property>
<property name="use_underline">True</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="mnemonic_widget">existing_nick_entry</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">0</property>
<property name="bottom_attach">1</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkExpander" id="existing_useproxy_expander">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="expanded">False</property>
<property name="spacing">0</property>
<child>
<widget class="GtkTable" id="table29">
<property name="border_width">5</property>
<property name="visible">True</property>
<property name="n_rows">4</property>
<property name="n_columns">2</property>
<property name="homogeneous">False</property>
<property name="row_spacing">5</property>
<property name="column_spacing">5</property>
<child>
<widget class="GtkLabel" id="label277">
<property name="visible">True</property>
<property name="label" translatable="yes">_Host:</property>
<property name="use_underline">True</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="mnemonic_widget">existing_proxyhost_entry</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">0</property>
<property name="bottom_attach">1</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label278">
<property name="visible">True</property>
<property name="label" translatable="yes">_Port:</property>
<property name="use_underline">True</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="mnemonic_widget">existing_proxyport_entry</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label279">
<property name="visible">True</property>
<property name="label" translatable="yes">_Username:</property>
<property name="use_underline">True</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="mnemonic_widget">existing_proxyuser_entry</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label280">
<property name="visible">True</property>
<property name="label" translatable="yes">Pass_word:</property>
<property name="use_underline">True</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="mnemonic_widget">existing_proxypass_entry</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">3</property>
<property name="bottom_attach">4</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkEntry" id="existing_proxyhost_entry">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="editable">True</property>
<property name="visibility">True</property>
<property name="max_length">0</property>
<property name="text" translatable="yes"></property>
<property name="has_frame">True</property>
<property name="invisible_char">*</property>
<property name="activates_default">False</property>
<signal name="changed" handler="on_proxyhost_entry_changed" last_modification_time="Thu, 08 Sep 2005 09:12:43 GMT"/>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">0</property>
<property name="bottom_attach">1</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkEntry" id="existing_proxyport_entry">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="editable">True</property>
<property name="visibility">True</property>
<property name="max_length">0</property>
<property name="text">3128</property>
<property name="has_frame">True</property>
<property name="invisible_char">*</property>
<property name="activates_default">False</property>
<signal name="changed" handler="on_proxyport_entry_changed" last_modification_time="Thu, 08 Sep 2005 09:12:50 GMT"/>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkEntry" id="existing_proxyuser_entry">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="editable">True</property>
<property name="visibility">True</property>
<property name="max_length">0</property>
<property name="text" translatable="yes"></property>
<property name="has_frame">True</property>
<property name="invisible_char">*</property>
<property name="activates_default">False</property>
<signal name="changed" handler="on_proxyuser_entry_changed" last_modification_time="Thu, 08 Sep 2005 09:13:04 GMT"/>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkEntry" id="existing_proxypass_entry">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="editable">True</property>
<property name="visibility">True</property>
<property name="max_length">0</property>
<property name="text" translatable="yes"></property>
<property name="has_frame">True</property>
<property name="invisible_char">*</property>
<property name="activates_default">False</property>
<signal name="changed" handler="on_proxypass_entry_changed" last_modification_time="Thu, 08 Sep 2005 09:13:12 GMT"/>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">3</property>
<property name="bottom_attach">4</property>
<property name="y_options"></property>
</packing>
</child>
</widget>
</child>
<child>
<widget class="GtkLabel" id="label276">
<property name="visible">True</property>
<property name="label" translatable="yes">_Use proxy</property>
<property name="use_underline">True</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="type">label_item</property>
</packing>
</child>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">3</property>
<property name="top_attach">3</property>
<property name="bottom_attach">4</property>
<property name="x_options">fill</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="existing_jid_label">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label"></property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">True</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">3</property>
<property name="top_attach">4</property>
<property name="bottom_attach">5</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label273">
<property name="visible">True</property>
<property name="label" translatable="yes">Your JID:</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">4</property>
<property name="bottom_attach">5</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">True</property>
<property name="fill">True</property>
</packing>
</child>
</widget>
<packing>
<property name="tab_expand">False</property>
<property name="tab_fill">True</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label260">
<property name="visible">True</property>
<property name="label" translatable="yes"></property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="type">tab</property>
</packing>
</child>
<child> <child>
<widget class="GtkVBox" id="register_vbox"> <widget class="GtkVBox" id="register_vbox">
<property name="border_width">6</property> <property name="border_width">6</property>
@ -14278,7 +13716,7 @@ to the Jabber network.</property>
<property name="column_spacing">12</property> <property name="column_spacing">12</property>
<child> <child>
<widget class="GtkEntry" id="register_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="editable">True</property> <property name="editable">True</property>
@ -14329,7 +13767,7 @@ to the Jabber network.</property>
</child> </child>
<child> <child>
<widget class="GtkComboBoxEntry" id="register_server_comboboxentry"> <widget class="GtkComboBoxEntry" id="server_comboboxentry">
<property name="visible">True</property> <property name="visible">True</property>
<property name="add_tearoffs">False</property> <property name="add_tearoffs">False</property>
<property name="has_frame">True</property> <property name="has_frame">True</property>
@ -14347,7 +13785,7 @@ to the Jabber network.</property>
</child> </child>
<child> <child>
<widget class="GtkButton" id="register_server_features_button"> <widget class="GtkButton" id="server_features_button">
<property name="visible">True</property> <property name="visible">True</property>
<property name="tooltip" translatable="yes">Click to see features (like MSN, ICQ transports) of jabber servers</property> <property name="tooltip" translatable="yes">Click to see features (like MSN, ICQ transports) of jabber servers</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
@ -14380,7 +13818,7 @@ to the Jabber network.</property>
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xpad">0</property> <property name="xpad">0</property>
<property name="ypad">0</property> <property name="ypad">0</property>
<property name="mnemonic_widget">register_pass_entry</property> <property name="mnemonic_widget">pass_entry</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property> <property name="width_chars">-1</property>
<property name="single_line_mode">False</property> <property name="single_line_mode">False</property>
@ -14397,7 +13835,7 @@ to the Jabber network.</property>
</child> </child>
<child> <child>
<widget class="GtkCheckButton" id="register_save_password_checkbutton"> <widget class="GtkCheckButton" id="save_password_checkbutton">
<property name="visible">True</property> <property name="visible">True</property>
<property name="tooltip" translatable="yes">If checked, Gajim will remember the password for this account</property> <property name="tooltip" translatable="yes">If checked, Gajim will remember the password for this account</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
@ -14421,7 +13859,7 @@ to the Jabber network.</property>
</child> </child>
<child> <child>
<widget class="GtkEntry" id="register_pass_entry"> <widget class="GtkEntry" id="pass_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="editable">True</property> <property name="editable">True</property>
@ -14455,7 +13893,7 @@ to the Jabber network.</property>
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xpad">0</property> <property name="xpad">0</property>
<property name="ypad">0</property> <property name="ypad">0</property>
<property name="mnemonic_widget">register_nick_entry</property> <property name="mnemonic_widget">nick_entry</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property> <property name="width_chars">-1</property>
<property name="single_line_mode">False</property> <property name="single_line_mode">False</property>
@ -14500,7 +13938,7 @@ to the Jabber network.</property>
</child> </child>
<child> <child>
<widget class="GtkLabel" id="register_jid_label"> <widget class="GtkLabel" id="jid_label">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="label"></property> <property name="label"></property>
@ -14587,7 +14025,7 @@ to the Jabber network.</property>
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xpad">0</property> <property name="xpad">0</property>
<property name="ypad">0</property> <property name="ypad">0</property>
<property name="mnemonic_widget">register_proxyport_entry</property> <property name="mnemonic_widget">proxyport_entry</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property> <property name="width_chars">-1</property>
<property name="single_line_mode">False</property> <property name="single_line_mode">False</property>
@ -14616,7 +14054,7 @@ to the Jabber network.</property>
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xpad">0</property> <property name="xpad">0</property>
<property name="ypad">0</property> <property name="ypad">0</property>
<property name="mnemonic_widget">register_proxyuser_entry</property> <property name="mnemonic_widget">proxyuser_entry</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property> <property name="width_chars">-1</property>
<property name="single_line_mode">False</property> <property name="single_line_mode">False</property>
@ -14645,7 +14083,7 @@ to the Jabber network.</property>
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xpad">0</property> <property name="xpad">0</property>
<property name="ypad">0</property> <property name="ypad">0</property>
<property name="mnemonic_widget">register_proxypass_entry</property> <property name="mnemonic_widget">proxypass_entry</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property> <property name="width_chars">-1</property>
<property name="single_line_mode">False</property> <property name="single_line_mode">False</property>
@ -14683,7 +14121,7 @@ to the Jabber network.</property>
</child> </child>
<child> <child>
<widget class="GtkEntry" id="register_proxyport_entry"> <widget class="GtkEntry" id="proxyport_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="editable">True</property> <property name="editable">True</property>
@ -14705,7 +14143,7 @@ to the Jabber network.</property>
</child> </child>
<child> <child>
<widget class="GtkEntry" id="register_proxyuser_entry"> <widget class="GtkEntry" id="proxyuser_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="editable">True</property> <property name="editable">True</property>
@ -14727,7 +14165,7 @@ to the Jabber network.</property>
</child> </child>
<child> <child>
<widget class="GtkEntry" id="register_proxypass_entry"> <widget class="GtkEntry" id="proxypass_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="editable">True</property> <property name="editable">True</property>