we can now set our priority

This commit is contained in:
Yann Leboulanger 2004-06-06 15:54:30 +00:00
parent f518f2c6e2
commit 5e47ab69ed
4 changed files with 299 additions and 15 deletions

View File

@ -305,12 +305,11 @@ class GajimCore:
con = self.connect(ev[1]) con = self.connect(ev[1])
if self.connected[ev[1]]: if self.connected[ev[1]]:
#send our presence #send our presence
p = common.jabber.Presence() type = 'available'
p.setShow(ev[2][0])
p.setStatus(ev[2][1])
if ev[2][0] == 'invisible': if ev[2][0] == 'invisible':
p.setType('invisible') type = 'invisible'
con.send(p) prio = str(self.cfgParser.tab[ev[1]]['priority'])
con.sendPresence(type, prio, ev[2][0], ev[2][1])
self.hub.sendPlugin('STATUS', ev[1], ev[2][0]) self.hub.sendPlugin('STATUS', ev[1], ev[2][0])
#ask our VCard #ask our VCard
iq = common.jabber.Iq(type="get") iq = common.jabber.Iq(type="get")

View File

@ -354,6 +354,8 @@ class accountPreference_Window:
self.xml.get_widget("entry_password").set_text(infos['password']) self.xml.get_widget("entry_password").set_text(infos['password'])
if infos.has_key('ressource'): if infos.has_key('ressource'):
self.xml.get_widget("entry_ressource").set_text(infos['ressource']) self.xml.get_widget("entry_ressource").set_text(infos['ressource'])
if infos.has_key('priority'):
self.xml.get_widget("entry_priority").set_text(str(infos['priority']))
if infos.has_key('use_proxy'): if infos.has_key('use_proxy'):
self.xml.get_widget("checkbutton_proxy").set_active(infos['use_proxy']) self.xml.get_widget("checkbutton_proxy").set_active(infos['use_proxy'])
if infos.has_key('proxyhost'): if infos.has_key('proxyhost'):
@ -367,6 +369,8 @@ class accountPreference_Window:
"""When save button is clicked : Save informations in config file""" """When save button is clicked : Save informations in config file"""
entryPass = self.xml.get_widget("entry_password") entryPass = self.xml.get_widget("entry_password")
entryRessource = self.xml.get_widget("entry_ressource") entryRessource = self.xml.get_widget("entry_ressource")
entryPriority = self.xml.get_widget("entry_priority")
prio = entryPriority.get_text()
check = self.xml.get_widget("checkbutton") check = self.xml.get_widget("checkbutton")
entryName = self.xml.get_widget("entry_name") entryName = self.xml.get_widget("entry_name")
entryJid = self.xml.get_widget("entry_jid") entryJid = self.xml.get_widget("entry_jid")
@ -395,6 +399,12 @@ class accountPreference_Window:
except ValueError: except ValueError:
warning_Window(_("Proxy Port must be a port number")) warning_Window(_("Proxy Port must be a port number"))
return 0 return 0
if prio != '':
try:
prio = string.atoi(prio)
except ValueError:
warning_Window(_("Priority must be a number"))
return 0
(login, hostname) = string.split(jid, '@') (login, hostname) = string.split(jid, '@')
#if we are modifying an account #if we are modifying an account
if self.modify: if self.modify:
@ -419,8 +429,9 @@ class accountPreference_Window:
self.plugin.send('ACC_CHG', self.account, name) self.plugin.send('ACC_CHG', self.account, name)
self.plugin.accounts[name] = {'name': login, 'hostname': hostname,\ self.plugin.accounts[name] = {'name': login, 'hostname': hostname,\
'password': entryPass.get_text(), 'ressource': \ 'password': entryPass.get_text(), 'ressource': \
entryRessource.get_text(), 'use_proxy': useProxy, 'proxyhost': \ entryRessource.get_text(), 'priority' : prio, 'use_proxy': \
entryProxyhost.get_text(), 'proxyport': proxyPort} useProxy, 'proxyhost': entryProxyhost.get_text(), 'proxyport': \
proxyPort}
self.plugin.send('CONFIG', None, ('accounts', self.plugin.accounts)) self.plugin.send('CONFIG', None, ('accounts', self.plugin.accounts))
#refresh accounts window #refresh accounts window
if self.plugin.windows.has_key('accounts'): if self.plugin.windows.has_key('accounts'):
@ -437,15 +448,15 @@ class accountPreference_Window:
#if we neeed to register a new account #if we neeed to register a new account
if check.get_active(): if check.get_active():
self.plugin.send('NEW_ACC', None, (hostname, login, \ self.plugin.send('NEW_ACC', None, (hostname, login, \
entryPass.get_text(), name, entryRessource.get_text(), \ entryPass.get_text(), name, entryRessource.get_text(), prio, \
checkProxy.get_active(), entryProxyhost.get_text(), \ checkProxy.get_active(), entryProxyhost.get_text(), \
entryProxyport.get_text())) entryProxyport.get_text()))
check.set_active(FALSE) check.set_active(FALSE)
return return
self.plugin.accounts[name] = {'name': login, 'hostname': hostname,\ self.plugin.accounts[name] = {'name': login, 'hostname': hostname,\
'password': entryPass.get_text(), 'ressource': \ 'password': entryPass.get_text(), 'ressource': \
entryRessource.get_text(), 'use_proxy': useProxy, 'proxyhost': \ entryRessource.get_text(), 'priority' : prio, 'use_proxy': useProxy, \
entryProxyhost.get_text(), 'proxyport': proxyPort} 'proxyhost': entryProxyhost.get_text(), 'proxyport': proxyPort}
self.plugin.send('CONFIG', None, ('accounts', self.plugin.accounts)) self.plugin.send('CONFIG', None, ('accounts', self.plugin.accounts))
#update variables #update variables
self.plugin.windows[name] = {'infos': {}, 'chats': {}} self.plugin.windows[name] = {'infos': {}, 'chats': {}}
@ -557,6 +568,8 @@ class accounts_Window:
infos['password'] = self.plugin.accounts[account]["password"] infos['password'] = self.plugin.accounts[account]["password"]
if self.plugin.accounts[account].has_key("ressource"): if self.plugin.accounts[account].has_key("ressource"):
infos['ressource'] = self.plugin.accounts[account]["ressource"] infos['ressource'] = self.plugin.accounts[account]["ressource"]
if self.plugin.accounts[account].has_key("priority"):
infos['priority'] = self.plugin.accounts[account]["priority"]
if self.plugin.accounts[account].has_key("use_proxy"): if self.plugin.accounts[account].has_key("use_proxy"):
infos['use_proxy'] = self.plugin.accounts[account]["use_proxy"] infos['use_proxy'] = self.plugin.accounts[account]["use_proxy"]
if self.plugin.accounts[account].has_key("proxyhost"): if self.plugin.accounts[account].has_key("proxyhost"):

View File

@ -2,6 +2,7 @@
<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd"> <!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd">
<glade-interface> <glade-interface>
<requires lib="gnome"/>
<widget class="GtkWindow" id="Gajim"> <widget class="GtkWindow" id="Gajim">
<property name="visible">True</property> <property name="visible">True</property>
@ -13,6 +14,11 @@
<property name="default_height">300</property> <property name="default_height">300</property>
<property name="resizable">True</property> <property name="resizable">True</property>
<property name="destroy_with_parent">False</property> <property name="destroy_with_parent">False</property>
<property name="decorated">True</property>
<property name="skip_taskbar_hint">False</property>
<property name="skip_pager_hint">False</property>
<property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<signal name="destroy" handler="gtk_main_quit" last_modification_time="Wed, 24 Sep 2003 20:54:02 GMT"/> <signal name="destroy" handler="gtk_main_quit" last_modification_time="Wed, 24 Sep 2003 20:54:02 GMT"/>
<child> <child>
@ -333,6 +339,11 @@
<property name="default_height">300</property> <property name="default_height">300</property>
<property name="resizable">True</property> <property name="resizable">True</property>
<property name="destroy_with_parent">False</property> <property name="destroy_with_parent">False</property>
<property name="decorated">True</property>
<property name="skip_taskbar_hint">False</property>
<property name="skip_pager_hint">False</property>
<property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<signal name="destroy" handler="gtk_widget_destroy" last_modification_time="Sun, 12 Oct 2003 18:17:05 GMT"/> <signal name="destroy" handler="gtk_widget_destroy" last_modification_time="Sun, 12 Oct 2003 18:17:05 GMT"/>
<child> <child>
@ -354,6 +365,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_history_clicked" last_modification_time="Sun, 04 Apr 2004 05:30:58 GMT"/> <signal name="clicked" handler="on_history_clicked" last_modification_time="Sun, 04 Apr 2004 05:30:58 GMT"/>
<child> <child>
@ -363,6 +375,10 @@
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xscale">0</property> <property name="xscale">0</property>
<property name="yscale">0</property> <property name="yscale">0</property>
<property name="top_padding">0</property>
<property name="bottom_padding">0</property>
<property name="left_padding">0</property>
<property name="right_padding">0</property>
<child> <child>
<widget class="GtkHBox" id="hbox8"> <widget class="GtkHBox" id="hbox8">
@ -424,6 +440,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_clear_clicked" last_modification_time="Thu, 18 Mar 2004 19:12:00 GMT"/> <signal name="clicked" handler="on_clear_clicked" last_modification_time="Thu, 18 Mar 2004 19:12:00 GMT"/>
<child> <child>
@ -433,6 +450,10 @@
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xscale">0</property> <property name="xscale">0</property>
<property name="yscale">0</property> <property name="yscale">0</property>
<property name="top_padding">0</property>
<property name="bottom_padding">0</property>
<property name="left_padding">0</property>
<property name="right_padding">0</property>
<child> <child>
<widget class="GtkHBox" id="hbox9"> <widget class="GtkHBox" id="hbox9">
@ -513,6 +534,7 @@
<property name="label" translatable="yes">Anonymous &lt;id@server/res&gt;</property> <property name="label" translatable="yes">Anonymous &lt;id@server/res&gt;</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NONE</property> <property name="relief">GTK_RELIEF_NONE</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_button_contact_clicked" last_modification_time="Sun, 15 Feb 2004 14:26:53 GMT"/> <signal name="clicked" handler="on_button_contact_clicked" last_modification_time="Sun, 15 Feb 2004 14:26:53 GMT"/>
</widget> </widget>
<packing> <packing>
@ -549,6 +571,8 @@
<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">False</property> <property name="editable">False</property>
<property name="overwrite">False</property>
<property name="accepts_tab">True</property>
<property name="justification">GTK_JUSTIFY_LEFT</property> <property name="justification">GTK_JUSTIFY_LEFT</property>
<property name="wrap_mode">GTK_WRAP_WORD</property> <property name="wrap_mode">GTK_WRAP_WORD</property>
<property name="cursor_visible">False</property> <property name="cursor_visible">False</property>
@ -582,6 +606,8 @@
<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>
<property name="overwrite">False</property>
<property name="accepts_tab">True</property>
<property name="justification">GTK_JUSTIFY_LEFT</property> <property name="justification">GTK_JUSTIFY_LEFT</property>
<property name="wrap_mode">GTK_WRAP_WORD</property> <property name="wrap_mode">GTK_WRAP_WORD</property>
<property name="cursor_visible">True</property> <property name="cursor_visible">True</property>
@ -621,6 +647,11 @@
<property name="default_height">200</property> <property name="default_height">200</property>
<property name="resizable">True</property> <property name="resizable">True</property>
<property name="destroy_with_parent">False</property> <property name="destroy_with_parent">False</property>
<property name="decorated">True</property>
<property name="skip_taskbar_hint">False</property>
<property name="skip_pager_hint">False</property>
<property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<signal name="destroy" handler="gtk_widget_destroy" last_modification_time="Wed, 10 Dec 2003 22:31:27 GMT"/> <signal name="destroy" handler="gtk_widget_destroy" last_modification_time="Wed, 10 Dec 2003 22:31:27 GMT"/>
<child> <child>
@ -676,6 +707,10 @@
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xscale">0</property> <property name="xscale">0</property>
<property name="yscale">1</property> <property name="yscale">1</property>
<property name="top_padding">0</property>
<property name="bottom_padding">0</property>
<property name="left_padding">0</property>
<property name="right_padding">0</property>
<child> <child>
<widget class="GtkHBox" id="hbox2"> <widget class="GtkHBox" id="hbox2">
@ -690,6 +725,7 @@
<property name="label">gtk-new</property> <property name="label">gtk-new</property>
<property name="use_stock">True</property> <property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_new_clicked" last_modification_time="Thu, 11 Dec 2003 17:06:22 GMT"/> <signal name="clicked" handler="on_new_clicked" last_modification_time="Thu, 11 Dec 2003 17:06:22 GMT"/>
</widget> </widget>
<packing> <packing>
@ -707,6 +743,7 @@
<property name="label">gtk-delete</property> <property name="label">gtk-delete</property>
<property name="use_stock">True</property> <property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_delete_clicked" last_modification_time="Thu, 11 Dec 2003 17:06:43 GMT"/> <signal name="clicked" handler="on_delete_clicked" last_modification_time="Thu, 11 Dec 2003 17:06:43 GMT"/>
</widget> </widget>
<packing> <packing>
@ -722,6 +759,7 @@
<property name="sensitive">False</property> <property name="sensitive">False</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_modify_clicked" last_modification_time="Thu, 11 Dec 2003 17:07:02 GMT"/> <signal name="clicked" handler="on_modify_clicked" last_modification_time="Thu, 11 Dec 2003 17:07:02 GMT"/>
<child> <child>
@ -731,6 +769,10 @@
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xscale">0</property> <property name="xscale">0</property>
<property name="yscale">0</property> <property name="yscale">0</property>
<property name="top_padding">0</property>
<property name="bottom_padding">0</property>
<property name="left_padding">0</property>
<property name="right_padding">0</property>
<child> <child>
<widget class="GtkHBox" id="hbox3"> <widget class="GtkHBox" id="hbox3">
@ -807,6 +849,11 @@
<property name="modal">False</property> <property name="modal">False</property>
<property name="resizable">True</property> <property name="resizable">True</property>
<property name="destroy_with_parent">False</property> <property name="destroy_with_parent">False</property>
<property name="decorated">True</property>
<property name="skip_taskbar_hint">False</property>
<property name="skip_pager_hint">False</property>
<property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<signal name="destroy" handler="gtk_widget_destroy" last_modification_time="Wed, 17 Mar 2004 19:51:57 GMT"/> <signal name="destroy" handler="gtk_widget_destroy" last_modification_time="Wed, 17 Mar 2004 19:51:57 GMT"/>
<child> <child>
@ -890,6 +937,10 @@ Yann Le Boulanger (asterix@crans.org)</property>
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xscale">0.2</property> <property name="xscale">0.2</property>
<property name="yscale">1</property> <property name="yscale">1</property>
<property name="top_padding">0</property>
<property name="bottom_padding">0</property>
<property name="left_padding">0</property>
<property name="right_padding">0</property>
<child> <child>
<widget class="GtkButton" id="close_button"> <widget class="GtkButton" id="close_button">
@ -898,6 +949,7 @@ Yann Le Boulanger (asterix@crans.org)</property>
<property name="label">gtk-close</property> <property name="label">gtk-close</property>
<property name="use_stock">True</property> <property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_close_clicked" last_modification_time="Sun, 26 Oct 2003 20:45:42 GMT"/> <signal name="clicked" handler="on_close_clicked" last_modification_time="Sun, 26 Oct 2003 20:45:42 GMT"/>
</widget> </widget>
</child> </child>
@ -920,6 +972,11 @@ Yann Le Boulanger (asterix@crans.org)</property>
<property name="modal">False</property> <property name="modal">False</property>
<property name="resizable">True</property> <property name="resizable">True</property>
<property name="destroy_with_parent">False</property> <property name="destroy_with_parent">False</property>
<property name="decorated">True</property>
<property name="skip_taskbar_hint">False</property>
<property name="skip_pager_hint">False</property>
<property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<signal name="destroy" handler="gtk_widget_destroy" last_modification_time="Thu, 11 Dec 2003 17:04:49 GMT"/> <signal name="destroy" handler="gtk_widget_destroy" last_modification_time="Thu, 11 Dec 2003 17:04:49 GMT"/>
<child> <child>
@ -997,7 +1054,7 @@ Yann Le Boulanger (asterix@crans.org)</property>
<widget class="GtkTable" id="table1"> <widget class="GtkTable" id="table1">
<property name="border_width">5</property> <property name="border_width">5</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="n_rows">4</property> <property name="n_rows">5</property>
<property name="n_columns">2</property> <property name="n_columns">2</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="row_spacing">5</property> <property name="row_spacing">5</property>
@ -1145,6 +1202,7 @@ Yann Le Boulanger (asterix@crans.org)</property>
<property name="label" translatable="yes">Register new account</property> <property name="label" translatable="yes">Register new account</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="active">False</property> <property name="active">False</property>
<property name="inconsistent">False</property> <property name="inconsistent">False</property>
<property name="draw_indicator">True</property> <property name="draw_indicator">True</property>
@ -1159,6 +1217,51 @@ Yann Le Boulanger (asterix@crans.org)</property>
<property name="y_options"></property> <property name="y_options"></property>
</packing> </packing>
</child> </child>
<child>
<widget class="GtkLabel" id="label137">
<property name="visible">True</property>
<property name="label" translatable="yes">Priority:</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</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">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>
<child>
<widget class="GtkEntry" id="entry_priority">
<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">5</property>
<property name="has_frame">True</property>
<property name="invisible_char" translatable="yes">*</property>
<property name="activates_default">False</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">4</property>
<property name="bottom_attach">5</property>
<property name="y_options"></property>
</packing>
</child>
</widget> </widget>
<packing> <packing>
<property name="tab_expand">False</property> <property name="tab_expand">False</property>
@ -1412,6 +1515,7 @@ Yann Le Boulanger (asterix@crans.org)</property>
<property name="label" translatable="yes">Use proxy</property> <property name="label" translatable="yes">Use proxy</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="active">False</property> <property name="active">False</property>
<property name="inconsistent">False</property> <property name="inconsistent">False</property>
<property name="draw_indicator">True</property> <property name="draw_indicator">True</property>
@ -1565,6 +1669,7 @@ on the server.</property>
<property name="label" translatable="yes">Edit personal details...</property> <property name="label" translatable="yes">Edit personal details...</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_edit_details_clicked" last_modification_time="Wed, 18 Feb 2004 21:30:01 GMT"/> <signal name="clicked" handler="on_edit_details_clicked" last_modification_time="Wed, 18 Feb 2004 21:30:01 GMT"/>
</widget> </widget>
<packing> <packing>
@ -1668,6 +1773,7 @@ on the server.</property>
<property name="label">gtk-save</property> <property name="label">gtk-save</property>
<property name="use_stock">True</property> <property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_save_clicked" last_modification_time="Thu, 11 Dec 2003 17:13:15 GMT"/> <signal name="clicked" handler="on_save_clicked" last_modification_time="Thu, 11 Dec 2003 17:13:15 GMT"/>
</widget> </widget>
</child> </child>
@ -1680,6 +1786,7 @@ on the server.</property>
<property name="label">gtk-close</property> <property name="label">gtk-close</property>
<property name="use_stock">True</property> <property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_close_clicked" last_modification_time="Wed, 17 Mar 2004 20:33:31 GMT"/> <signal name="clicked" handler="on_close_clicked" last_modification_time="Wed, 17 Mar 2004 20:33:31 GMT"/>
</widget> </widget>
</child> </child>
@ -1702,6 +1809,11 @@ on the server.</property>
<property name="modal">False</property> <property name="modal">False</property>
<property name="resizable">True</property> <property name="resizable">True</property>
<property name="destroy_with_parent">False</property> <property name="destroy_with_parent">False</property>
<property name="decorated">True</property>
<property name="skip_taskbar_hint">False</property>
<property name="skip_pager_hint">False</property>
<property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<child> <child>
<widget class="GtkVBox" id="vbox8"> <widget class="GtkVBox" id="vbox8">
@ -1808,6 +1920,8 @@ on the server.</property>
<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>
<property name="overwrite">False</property>
<property name="accepts_tab">True</property>
<property name="justification">GTK_JUSTIFY_LEFT</property> <property name="justification">GTK_JUSTIFY_LEFT</property>
<property name="wrap_mode">GTK_WRAP_WORD</property> <property name="wrap_mode">GTK_WRAP_WORD</property>
<property name="cursor_visible">True</property> <property name="cursor_visible">True</property>
@ -1875,6 +1989,7 @@ on the server.</property>
<property name="can_default">True</property> <property name="can_default">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_button_sub_clicked" last_modification_time="Sun, 26 Oct 2003 21:38:59 GMT"/> <signal name="clicked" handler="on_button_sub_clicked" last_modification_time="Sun, 26 Oct 2003 21:38:59 GMT"/>
<child> <child>
@ -1884,6 +1999,10 @@ on the server.</property>
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xscale">0</property> <property name="xscale">0</property>
<property name="yscale">0</property> <property name="yscale">0</property>
<property name="top_padding">0</property>
<property name="bottom_padding">0</property>
<property name="left_padding">0</property>
<property name="right_padding">0</property>
<child> <child>
<widget class="GtkHBox" id="hbox10"> <widget class="GtkHBox" id="hbox10">
@ -1943,6 +2062,7 @@ on the server.</property>
<property name="label">gtk-cancel</property> <property name="label">gtk-cancel</property>
<property name="use_stock">True</property> <property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_cancel_clicked" last_modification_time="Wed, 17 Mar 2004 19:44:15 GMT"/> <signal name="clicked" handler="on_cancel_clicked" last_modification_time="Wed, 17 Mar 2004 19:44:15 GMT"/>
</widget> </widget>
</child> </child>
@ -1965,6 +2085,11 @@ on the server.</property>
<property name="modal">False</property> <property name="modal">False</property>
<property name="resizable">True</property> <property name="resizable">True</property>
<property name="destroy_with_parent">False</property> <property name="destroy_with_parent">False</property>
<property name="decorated">True</property>
<property name="skip_taskbar_hint">False</property>
<property name="skip_pager_hint">False</property>
<property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<property name="has_separator">True</property> <property name="has_separator">True</property>
<child internal-child="vbox"> <child internal-child="vbox">
@ -1986,6 +2111,7 @@ on the server.</property>
<property name="label">gtk-cancel</property> <property name="label">gtk-cancel</property>
<property name="use_stock">True</property> <property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="response_id">-6</property> <property name="response_id">-6</property>
</widget> </widget>
</child> </child>
@ -1998,6 +2124,7 @@ on the server.</property>
<property name="label">gtk-ok</property> <property name="label">gtk-ok</property>
<property name="use_stock">True</property> <property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="response_id">-5</property> <property name="response_id">-5</property>
</widget> </widget>
</child> </child>
@ -2045,6 +2172,11 @@ on the server.</property>
<property name="default_height">200</property> <property name="default_height">200</property>
<property name="resizable">True</property> <property name="resizable">True</property>
<property name="destroy_with_parent">False</property> <property name="destroy_with_parent">False</property>
<property name="decorated">True</property>
<property name="skip_taskbar_hint">False</property>
<property name="skip_pager_hint">False</property>
<property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<child> <child>
<widget class="GtkVBox" id="vbox10"> <widget class="GtkVBox" id="vbox10">
@ -2088,6 +2220,8 @@ on the server.</property>
<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">False</property> <property name="editable">False</property>
<property name="overwrite">False</property>
<property name="accepts_tab">True</property>
<property name="justification">GTK_JUSTIFY_LEFT</property> <property name="justification">GTK_JUSTIFY_LEFT</property>
<property name="wrap_mode">GTK_WRAP_WORD</property> <property name="wrap_mode">GTK_WRAP_WORD</property>
<property name="cursor_visible">False</property> <property name="cursor_visible">False</property>
@ -2132,6 +2266,7 @@ on the server.</property>
<property name="can_default">True</property> <property name="can_default">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_button_close_clicked" last_modification_time="Mon, 03 Nov 2003 19:01:49 GMT"/> <signal name="clicked" handler="on_button_close_clicked" last_modification_time="Mon, 03 Nov 2003 19:01:49 GMT"/>
<child> <child>
@ -2141,6 +2276,10 @@ on the server.</property>
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xscale">0</property> <property name="xscale">0</property>
<property name="yscale">0</property> <property name="yscale">0</property>
<property name="top_padding">0</property>
<property name="bottom_padding">0</property>
<property name="left_padding">0</property>
<property name="right_padding">0</property>
<child> <child>
<widget class="GtkHBox" id="hbox15"> <widget class="GtkHBox" id="hbox15">
@ -2198,6 +2337,7 @@ on the server.</property>
<property name="can_default">True</property> <property name="can_default">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_button_deny_clicked" last_modification_time="Mon, 03 Nov 2003 19:01:54 GMT"/> <signal name="clicked" handler="on_button_deny_clicked" last_modification_time="Mon, 03 Nov 2003 19:01:54 GMT"/>
<child> <child>
@ -2207,6 +2347,10 @@ on the server.</property>
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xscale">0</property> <property name="xscale">0</property>
<property name="yscale">0</property> <property name="yscale">0</property>
<property name="top_padding">0</property>
<property name="bottom_padding">0</property>
<property name="left_padding">0</property>
<property name="right_padding">0</property>
<child> <child>
<widget class="GtkHBox" id="hbox16"> <widget class="GtkHBox" id="hbox16">
@ -2264,6 +2408,7 @@ on the server.</property>
<property name="can_default">True</property> <property name="can_default">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_button_auth_clicked" last_modification_time="Mon, 03 Nov 2003 19:02:02 GMT"/> <signal name="clicked" handler="on_button_auth_clicked" last_modification_time="Mon, 03 Nov 2003 19:02:02 GMT"/>
<child> <child>
@ -2273,6 +2418,10 @@ on the server.</property>
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xscale">0</property> <property name="xscale">0</property>
<property name="yscale">0</property> <property name="yscale">0</property>
<property name="top_padding">0</property>
<property name="bottom_padding">0</property>
<property name="left_padding">0</property>
<property name="right_padding">0</property>
<child> <child>
<widget class="GtkHBox" id="hbox17"> <widget class="GtkHBox" id="hbox17">
@ -2344,6 +2493,11 @@ on the server.</property>
<property name="default_height">250</property> <property name="default_height">250</property>
<property name="resizable">True</property> <property name="resizable">True</property>
<property name="destroy_with_parent">False</property> <property name="destroy_with_parent">False</property>
<property name="decorated">True</property>
<property name="skip_taskbar_hint">False</property>
<property name="skip_pager_hint">False</property>
<property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<signal name="destroy" handler="gtk_widget_destroy" last_modification_time="Fri, 14 Nov 2003 11:08:36 GMT"/> <signal name="destroy" handler="gtk_widget_destroy" last_modification_time="Fri, 14 Nov 2003 11:08:36 GMT"/>
<child> <child>
@ -2404,6 +2558,7 @@ on the server.</property>
<property name="can_default">True</property> <property name="can_default">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_refresh_clicked" last_modification_time="Wed, 12 Nov 2003 18:20:25 GMT"/> <signal name="clicked" handler="on_refresh_clicked" last_modification_time="Wed, 12 Nov 2003 18:20:25 GMT"/>
<child> <child>
@ -2413,6 +2568,10 @@ on the server.</property>
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xscale">0</property> <property name="xscale">0</property>
<property name="yscale">0</property> <property name="yscale">0</property>
<property name="top_padding">0</property>
<property name="bottom_padding">0</property>
<property name="left_padding">0</property>
<property name="right_padding">0</property>
<child> <child>
<widget class="GtkHBox" id="hbox20"> <widget class="GtkHBox" id="hbox20">
@ -2470,6 +2629,7 @@ on the server.</property>
<property name="can_default">True</property> <property name="can_default">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_close_clicked" last_modification_time="Thu, 18 Mar 2004 14:42:04 GMT"/> <signal name="clicked" handler="on_close_clicked" last_modification_time="Thu, 18 Mar 2004 14:42:04 GMT"/>
<child> <child>
@ -2479,6 +2639,10 @@ on the server.</property>
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xscale">0</property> <property name="xscale">0</property>
<property name="yscale">0</property> <property name="yscale">0</property>
<property name="top_padding">0</property>
<property name="bottom_padding">0</property>
<property name="left_padding">0</property>
<property name="right_padding">0</property>
<child> <child>
<widget class="GtkHBox" id="hbox19"> <widget class="GtkHBox" id="hbox19">
@ -2550,6 +2714,11 @@ on the server.</property>
<property name="default_height">200</property> <property name="default_height">200</property>
<property name="resizable">True</property> <property name="resizable">True</property>
<property name="destroy_with_parent">False</property> <property name="destroy_with_parent">False</property>
<property name="decorated">True</property>
<property name="skip_taskbar_hint">False</property>
<property name="skip_pager_hint">False</property>
<property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<child> <child>
<widget class="GtkVBox" id="vbox12"> <widget class="GtkVBox" id="vbox12">
@ -2619,6 +2788,7 @@ on the server.</property>
<property name="can_default">True</property> <property name="can_default">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_button_ok_clicked" last_modification_time="Fri, 14 Nov 2003 11:03:35 GMT"/> <signal name="clicked" handler="on_button_ok_clicked" last_modification_time="Fri, 14 Nov 2003 11:03:35 GMT"/>
<child> <child>
@ -2628,6 +2798,10 @@ on the server.</property>
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xscale">0</property> <property name="xscale">0</property>
<property name="yscale">0</property> <property name="yscale">0</property>
<property name="top_padding">0</property>
<property name="bottom_padding">0</property>
<property name="left_padding">0</property>
<property name="right_padding">0</property>
<child> <child>
<widget class="GtkHBox" id="hbox21"> <widget class="GtkHBox" id="hbox21">
@ -2685,6 +2859,7 @@ on the server.</property>
<property name="can_default">True</property> <property name="can_default">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_cancel_clicked" last_modification_time="Thu, 18 Mar 2004 14:49:06 GMT"/> <signal name="clicked" handler="on_cancel_clicked" last_modification_time="Thu, 18 Mar 2004 14:49:06 GMT"/>
<child> <child>
@ -2694,6 +2869,10 @@ on the server.</property>
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xscale">0</property> <property name="xscale">0</property>
<property name="yscale">0</property> <property name="yscale">0</property>
<property name="top_padding">0</property>
<property name="bottom_padding">0</property>
<property name="left_padding">0</property>
<property name="right_padding">0</property>
<child> <child>
<widget class="GtkHBox" id="hbox22"> <widget class="GtkHBox" id="hbox22">
@ -2763,6 +2942,11 @@ on the server.</property>
<property name="modal">True</property> <property name="modal">True</property>
<property name="resizable">True</property> <property name="resizable">True</property>
<property name="destroy_with_parent">False</property> <property name="destroy_with_parent">False</property>
<property name="decorated">True</property>
<property name="skip_taskbar_hint">False</property>
<property name="skip_pager_hint">False</property>
<property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<property name="has_separator">True</property> <property name="has_separator">True</property>
<child internal-child="vbox"> <child internal-child="vbox">
@ -2784,6 +2968,7 @@ on the server.</property>
<property name="label">gtk-close</property> <property name="label">gtk-close</property>
<property name="use_stock">True</property> <property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="response_id">-7</property> <property name="response_id">-7</property>
<signal name="clicked" handler="on_close_clicked" last_modification_time="Wed, 17 Mar 2004 19:51:00 GMT"/> <signal name="clicked" handler="on_close_clicked" last_modification_time="Wed, 17 Mar 2004 19:51:00 GMT"/>
</widget> </widget>
@ -2859,6 +3044,11 @@ on the server.</property>
<property name="modal">False</property> <property name="modal">False</property>
<property name="resizable">True</property> <property name="resizable">True</property>
<property name="destroy_with_parent">False</property> <property name="destroy_with_parent">False</property>
<property name="decorated">True</property>
<property name="skip_taskbar_hint">False</property>
<property name="skip_pager_hint">False</property>
<property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<signal name="destroy" handler="gtk_widget_destroy" last_modification_time="Wed, 17 Mar 2004 01:55:57 GMT"/> <signal name="destroy" handler="gtk_widget_destroy" last_modification_time="Wed, 17 Mar 2004 01:55:57 GMT"/>
<child> <child>
@ -2886,6 +3076,7 @@ on the server.</property>
<property name="can_default">True</property> <property name="can_default">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_HALF</property> <property name="relief">GTK_RELIEF_HALF</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_lookfeel_button_clicked" last_modification_time="Sun, 15 Feb 2004 15:49:12 GMT"/> <signal name="clicked" handler="on_lookfeel_button_clicked" last_modification_time="Sun, 15 Feb 2004 15:49:12 GMT"/>
<child> <child>
@ -2942,6 +3133,7 @@ on the server.</property>
<property name="can_default">True</property> <property name="can_default">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_HALF</property> <property name="relief">GTK_RELIEF_HALF</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_events_button_clicked" last_modification_time="Sun, 15 Feb 2004 15:49:19 GMT"/> <signal name="clicked" handler="on_events_button_clicked" last_modification_time="Sun, 15 Feb 2004 15:49:19 GMT"/>
<child> <child>
@ -2998,6 +3190,7 @@ on the server.</property>
<property name="can_default">True</property> <property name="can_default">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_HALF</property> <property name="relief">GTK_RELIEF_HALF</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_presence_button_clicked" last_modification_time="Sun, 15 Feb 2004 15:49:26 GMT"/> <signal name="clicked" handler="on_presence_button_clicked" last_modification_time="Sun, 15 Feb 2004 15:49:26 GMT"/>
<child> <child>
@ -3244,6 +3437,7 @@ on the server.</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_but_col_clicked" last_modification_time="Sun, 28 Dec 2003 23:54:58 GMT"/> <signal name="clicked" handler="on_but_col_clicked" last_modification_time="Sun, 28 Dec 2003 23:54:58 GMT"/>
<child> <child>
@ -3269,6 +3463,7 @@ on the server.</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_but_col_clicked" last_modification_time="Sun, 28 Dec 2003 23:55:09 GMT"/> <signal name="clicked" handler="on_but_col_clicked" last_modification_time="Sun, 28 Dec 2003 23:55:09 GMT"/>
<child> <child>
@ -3294,6 +3489,7 @@ on the server.</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_but_col_clicked" last_modification_time="Sun, 28 Dec 2003 23:54:43 GMT"/> <signal name="clicked" handler="on_but_col_clicked" last_modification_time="Sun, 28 Dec 2003 23:54:43 GMT"/>
<child> <child>
@ -3393,6 +3589,7 @@ on the server.</property>
messages</property> messages</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="active">False</property> <property name="active">False</property>
<property name="inconsistent">False</property> <property name="inconsistent">False</property>
<property name="draw_indicator">True</property> <property name="draw_indicator">True</property>
@ -3413,6 +3610,7 @@ messages</property>
when NOT onlie</property> when NOT onlie</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="active">False</property> <property name="active">False</property>
<property name="inconsistent">False</property> <property name="inconsistent">False</property>
<property name="draw_indicator">True</property> <property name="draw_indicator">True</property>
@ -3432,6 +3630,7 @@ when NOT onlie</property>
<property name="label" translatable="yes">checkbutton5</property> <property name="label" translatable="yes">checkbutton5</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="active">False</property> <property name="active">False</property>
<property name="inconsistent">False</property> <property name="inconsistent">False</property>
<property name="draw_indicator">True</property> <property name="draw_indicator">True</property>
@ -3524,6 +3723,7 @@ when NOT onlie</property>
<property name="label" translatable="yes">Auto Away After</property> <property name="label" translatable="yes">Auto Away After</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="active">False</property> <property name="active">False</property>
<property name="inconsistent">False</property> <property name="inconsistent">False</property>
<property name="draw_indicator">True</property> <property name="draw_indicator">True</property>
@ -3591,6 +3791,7 @@ when NOT onlie</property>
<property name="label" translatable="yes">Auto eXtanded Away After</property> <property name="label" translatable="yes">Auto eXtanded Away After</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="active">False</property> <property name="active">False</property>
<property name="inconsistent">False</property> <property name="inconsistent">False</property>
<property name="draw_indicator">True</property> <property name="draw_indicator">True</property>
@ -3743,6 +3944,7 @@ when NOT onlie</property>
<property name="label">gtk-cancel</property> <property name="label">gtk-cancel</property>
<property name="use_stock">True</property> <property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_cancel_clicked" last_modification_time="Wed, 17 Mar 2004 03:07:18 GMT"/> <signal name="clicked" handler="on_cancel_clicked" last_modification_time="Wed, 17 Mar 2004 03:07:18 GMT"/>
</widget> </widget>
</child> </child>
@ -3755,6 +3957,7 @@ when NOT onlie</property>
<property name="label">gtk-ok</property> <property name="label">gtk-ok</property>
<property name="use_stock">True</property> <property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_ok_clicked" last_modification_time="Mon, 29 Dec 2003 13:48:07 GMT"/> <signal name="clicked" handler="on_ok_clicked" last_modification_time="Mon, 29 Dec 2003 13:48:07 GMT"/>
</widget> </widget>
</child> </child>
@ -3777,6 +3980,11 @@ when NOT onlie</property>
<property name="modal">False</property> <property name="modal">False</property>
<property name="resizable">True</property> <property name="resizable">True</property>
<property name="destroy_with_parent">False</property> <property name="destroy_with_parent">False</property>
<property name="decorated">True</property>
<property name="skip_taskbar_hint">False</property>
<property name="skip_pager_hint">False</property>
<property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<property name="has_separator">True</property> <property name="has_separator">True</property>
<child internal-child="vbox"> <child internal-child="vbox">
@ -3798,6 +4006,7 @@ when NOT onlie</property>
<property name="label">gtk-ok</property> <property name="label">gtk-ok</property>
<property name="use_stock">True</property> <property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="response_id">-5</property> <property name="response_id">-5</property>
<signal name="clicked" handler="on_ok_clicked" last_modification_time="Thu, 08 Jan 2004 12:04:44 GMT"/> <signal name="clicked" handler="on_ok_clicked" last_modification_time="Thu, 08 Jan 2004 12:04:44 GMT"/>
</widget> </widget>
@ -3852,6 +4061,8 @@ when NOT onlie</property>
<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>
<property name="overwrite">False</property>
<property name="accepts_tab">True</property>
<property name="justification">GTK_JUSTIFY_LEFT</property> <property name="justification">GTK_JUSTIFY_LEFT</property>
<property name="wrap_mode">GTK_WRAP_WORD</property> <property name="wrap_mode">GTK_WRAP_WORD</property>
<property name="cursor_visible">True</property> <property name="cursor_visible">True</property>
@ -3948,6 +4159,11 @@ when NOT onlie</property>
<property name="modal">False</property> <property name="modal">False</property>
<property name="resizable">True</property> <property name="resizable">True</property>
<property name="destroy_with_parent">False</property> <property name="destroy_with_parent">False</property>
<property name="decorated">True</property>
<property name="skip_taskbar_hint">False</property>
<property name="skip_pager_hint">False</property>
<property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<signal name="destroy" handler="gtk_widget_destroy" last_modification_time="Wed, 17 Mar 2004 18:52:36 GMT"/> <signal name="destroy" handler="gtk_widget_destroy" last_modification_time="Wed, 17 Mar 2004 18:52:36 GMT"/>
<child> <child>
@ -4402,6 +4618,7 @@ when NOT onlie</property>
<property name="label" translatable="yes">Add -&gt;</property> <property name="label" translatable="yes">Add -&gt;</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_add_clicked" last_modification_time="Sun, 11 Jan 2004 21:32:59 GMT"/> <signal name="clicked" handler="on_add_clicked" last_modification_time="Sun, 11 Jan 2004 21:32:59 GMT"/>
</widget> </widget>
</child> </child>
@ -4414,6 +4631,7 @@ when NOT onlie</property>
<property name="label" translatable="yes">&lt;- Remove</property> <property name="label" translatable="yes">&lt;- Remove</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_remove_clicked" last_modification_time="Sun, 11 Jan 2004 21:33:15 GMT"/> <signal name="clicked" handler="on_remove_clicked" last_modification_time="Sun, 11 Jan 2004 21:33:15 GMT"/>
</widget> </widget>
</child> </child>
@ -5332,6 +5550,8 @@ when NOT onlie</property>
<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">False</property> <property name="editable">False</property>
<property name="overwrite">False</property>
<property name="accepts_tab">True</property>
<property name="justification">GTK_JUSTIFY_LEFT</property> <property name="justification">GTK_JUSTIFY_LEFT</property>
<property name="wrap_mode">GTK_WRAP_NONE</property> <property name="wrap_mode">GTK_WRAP_NONE</property>
<property name="cursor_visible">False</property> <property name="cursor_visible">False</property>
@ -5390,6 +5610,7 @@ when NOT onlie</property>
<property name="label">gtk-close</property> <property name="label">gtk-close</property>
<property name="use_stock">True</property> <property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_close_clicked" last_modification_time="Sat, 10 Jan 2004 02:34:46 GMT"/> <signal name="clicked" handler="on_close_clicked" last_modification_time="Sat, 10 Jan 2004 02:34:46 GMT"/>
</widget> </widget>
</child> </child>
@ -5412,6 +5633,11 @@ when NOT onlie</property>
<property name="modal">False</property> <property name="modal">False</property>
<property name="resizable">True</property> <property name="resizable">True</property>
<property name="destroy_with_parent">False</property> <property name="destroy_with_parent">False</property>
<property name="decorated">True</property>
<property name="skip_taskbar_hint">False</property>
<property name="skip_pager_hint">False</property>
<property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<child> <child>
<widget class="GtkVBox" id="vbox23"> <widget class="GtkVBox" id="vbox23">
@ -6266,6 +6492,8 @@ when NOT onlie</property>
<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>
<property name="overwrite">False</property>
<property name="accepts_tab">True</property>
<property name="justification">GTK_JUSTIFY_LEFT</property> <property name="justification">GTK_JUSTIFY_LEFT</property>
<property name="wrap_mode">GTK_WRAP_NONE</property> <property name="wrap_mode">GTK_WRAP_NONE</property>
<property name="cursor_visible">True</property> <property name="cursor_visible">True</property>
@ -6323,6 +6551,7 @@ when NOT onlie</property>
<property name="can_default">True</property> <property name="can_default">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_publish_clicked" last_modification_time="Wed, 18 Feb 2004 22:07:28 GMT"/> <signal name="clicked" handler="on_publish_clicked" last_modification_time="Wed, 18 Feb 2004 22:07:28 GMT"/>
<child> <child>
@ -6332,6 +6561,10 @@ when NOT onlie</property>
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xscale">0</property> <property name="xscale">0</property>
<property name="yscale">0</property> <property name="yscale">0</property>
<property name="top_padding">0</property>
<property name="bottom_padding">0</property>
<property name="left_padding">0</property>
<property name="right_padding">0</property>
<child> <child>
<widget class="GtkHBox" id="hbox30"> <widget class="GtkHBox" id="hbox30">
@ -6389,6 +6622,7 @@ when NOT onlie</property>
<property name="can_default">True</property> <property name="can_default">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_retrieve_clicked" last_modification_time="Wed, 18 Feb 2004 22:07:13 GMT"/> <signal name="clicked" handler="on_retrieve_clicked" last_modification_time="Wed, 18 Feb 2004 22:07:13 GMT"/>
<child> <child>
@ -6398,6 +6632,10 @@ when NOT onlie</property>
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xscale">0</property> <property name="xscale">0</property>
<property name="yscale">0</property> <property name="yscale">0</property>
<property name="top_padding">0</property>
<property name="bottom_padding">0</property>
<property name="left_padding">0</property>
<property name="right_padding">0</property>
<child> <child>
<widget class="GtkHBox" id="hbox31"> <widget class="GtkHBox" id="hbox31">
@ -6455,6 +6693,7 @@ when NOT onlie</property>
<property name="can_default">True</property> <property name="can_default">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_close_clicked" last_modification_time="Wed, 18 Feb 2004 22:06:43 GMT"/> <signal name="clicked" handler="on_close_clicked" last_modification_time="Wed, 18 Feb 2004 22:06:43 GMT"/>
<child> <child>
@ -6464,6 +6703,10 @@ when NOT onlie</property>
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xscale">0</property> <property name="xscale">0</property>
<property name="yscale">0</property> <property name="yscale">0</property>
<property name="top_padding">0</property>
<property name="bottom_padding">0</property>
<property name="left_padding">0</property>
<property name="right_padding">0</property>
<child> <child>
<widget class="GtkHBox" id="hbox29"> <widget class="GtkHBox" id="hbox29">
@ -6535,6 +6778,11 @@ when NOT onlie</property>
<property name="default_height">350</property> <property name="default_height">350</property>
<property name="resizable">True</property> <property name="resizable">True</property>
<property name="destroy_with_parent">False</property> <property name="destroy_with_parent">False</property>
<property name="decorated">True</property>
<property name="skip_taskbar_hint">False</property>
<property name="skip_pager_hint">False</property>
<property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<signal name="destroy" handler="gtk_widget_destroy" last_modification_time="Sun, 04 Apr 2004 18:55:52 GMT"/> <signal name="destroy" handler="gtk_widget_destroy" last_modification_time="Sun, 04 Apr 2004 18:55:52 GMT"/>
<child> <child>
@ -6556,6 +6804,7 @@ when NOT onlie</property>
<property name="can_default">True</property> <property name="can_default">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_earliest_clicked" last_modification_time="Sun, 04 Apr 2004 17:24:23 GMT"/> <signal name="clicked" handler="on_earliest_clicked" last_modification_time="Sun, 04 Apr 2004 17:24:23 GMT"/>
<child> <child>
@ -6565,6 +6814,10 @@ when NOT onlie</property>
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xscale">0</property> <property name="xscale">0</property>
<property name="yscale">0</property> <property name="yscale">0</property>
<property name="top_padding">0</property>
<property name="bottom_padding">0</property>
<property name="left_padding">0</property>
<property name="right_padding">0</property>
<child> <child>
<widget class="GtkHBox" id="hbox33"> <widget class="GtkHBox" id="hbox33">
@ -6622,6 +6875,7 @@ when NOT onlie</property>
<property name="can_default">True</property> <property name="can_default">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_previous_clicked" last_modification_time="Sun, 04 Apr 2004 17:24:34 GMT"/> <signal name="clicked" handler="on_previous_clicked" last_modification_time="Sun, 04 Apr 2004 17:24:34 GMT"/>
<child> <child>
@ -6631,6 +6885,10 @@ when NOT onlie</property>
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xscale">0</property> <property name="xscale">0</property>
<property name="yscale">0</property> <property name="yscale">0</property>
<property name="top_padding">0</property>
<property name="bottom_padding">0</property>
<property name="left_padding">0</property>
<property name="right_padding">0</property>
<child> <child>
<widget class="GtkHBox" id="hbox32"> <widget class="GtkHBox" id="hbox32">
@ -6690,6 +6948,7 @@ when NOT onlie</property>
<property name="label">gtk-go-forward</property> <property name="label">gtk-go-forward</property>
<property name="use_stock">True</property> <property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_forward_clicked" last_modification_time="Sun, 04 Apr 2004 16:37:55 GMT"/> <signal name="clicked" handler="on_forward_clicked" last_modification_time="Sun, 04 Apr 2004 16:37:55 GMT"/>
</widget> </widget>
</child> </child>
@ -6700,6 +6959,7 @@ when NOT onlie</property>
<property name="can_default">True</property> <property name="can_default">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_latest_clicked" last_modification_time="Sun, 04 Apr 2004 17:24:42 GMT"/> <signal name="clicked" handler="on_latest_clicked" last_modification_time="Sun, 04 Apr 2004 17:24:42 GMT"/>
<child> <child>
@ -6709,6 +6969,10 @@ when NOT onlie</property>
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xscale">0</property> <property name="xscale">0</property>
<property name="yscale">0</property> <property name="yscale">0</property>
<property name="top_padding">0</property>
<property name="bottom_padding">0</property>
<property name="left_padding">0</property>
<property name="right_padding">0</property>
<child> <child>
<widget class="GtkHBox" id="hbox34"> <widget class="GtkHBox" id="hbox34">
@ -6768,6 +7032,7 @@ when NOT onlie</property>
<property name="label">gtk-close</property> <property name="label">gtk-close</property>
<property name="use_stock">True</property> <property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_close_clicked" last_modification_time="Sun, 04 Apr 2004 16:34:43 GMT"/> <signal name="clicked" handler="on_close_clicked" last_modification_time="Sun, 04 Apr 2004 16:34:43 GMT"/>
</widget> </widget>
</child> </child>
@ -6793,6 +7058,8 @@ when NOT onlie</property>
<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>
<property name="overwrite">False</property>
<property name="accepts_tab">True</property>
<property name="justification">GTK_JUSTIFY_LEFT</property> <property name="justification">GTK_JUSTIFY_LEFT</property>
<property name="wrap_mode">GTK_WRAP_NONE</property> <property name="wrap_mode">GTK_WRAP_NONE</property>
<property name="cursor_visible">True</property> <property name="cursor_visible">True</property>

View File

@ -690,6 +690,8 @@ class roster_Window:
infos['password'] = self.plugin.accounts[account]["password"] infos['password'] = self.plugin.accounts[account]["password"]
if self.plugin.accounts[account].has_key("ressource"): if self.plugin.accounts[account].has_key("ressource"):
infos['ressource'] = self.plugin.accounts[account]["ressource"] infos['ressource'] = self.plugin.accounts[account]["ressource"]
if self.plugin.accounts[account].has_key("priority"):
infos['priority'] = self.plugin.accounts[account]["priority"]
if self.plugin.accounts[account].has_key("use_proxy"): if self.plugin.accounts[account].has_key("use_proxy"):
infos['use_proxy'] = self.plugin.accounts[account]["use_proxy"] infos['use_proxy'] = self.plugin.accounts[account]["use_proxy"]
if self.plugin.accounts[account].has_key("proxyhost"): if self.plugin.accounts[account].has_key("proxyhost"):
@ -1280,7 +1282,7 @@ class plugin:
#It must be an agent #It must be an agent
if not self.roster.contacts[ev[1]].has_key(ji): if not self.roster.contacts[ev[1]].has_key(ji):
user1 = user(ji, ji, ['Agents'], ev[2][1], \ user1 = user(ji, ji, ['Agents'], ev[2][1], \
ev[2][2], 'from', resource) ev[2][2], 'from', resource, 0)
self.roster.contacts[ev[1]][ji] = [user1] self.roster.contacts[ev[1]][ji] = [user1]
self.roster.add_user_to_roster(ji, ev[1]) self.roster.add_user_to_roster(ji, ev[1])
else: else:
@ -1328,10 +1330,13 @@ class plugin:
warning_Window(_("error contacting %s") % ev[2][0]) warning_Window(_("error contacting %s") % ev[2][0])
else: else:
agentRegistration_Window(ev[2][0], ev[2][1], self, ev[1]) agentRegistration_Window(ev[2][0], ev[2][1], self, ev[1])
#('ACC_OK', account, (hostname, login, pasword, name, ressource)) #('ACC_OK', account, (hostname, login, pasword, name, ressource, prio,
#use_proxy, proxyhost, proxyport))
elif ev[0] == 'ACC_OK': elif ev[0] == 'ACC_OK':
self.accounts[ev[2][3]] = {'ressource': ev[2][4], \ self.accounts[ev[2][3]] = {'name': ev[2][1], 'hostname': ev[2][0],\
'password': ev[2][2], 'hostname': ev[2][0], 'name': ev[2][1]} 'password': ev[2][2], 'ressource': ev[2][4], 'priority': \
ev[2][5], 'use_proxy': ev[2][6], 'proxyhost': ev[2][7], \
'proxyport': ev[2][8]}
self.send('CONFIG', None, ('accounts', self.accounts)) self.send('CONFIG', None, ('accounts', self.accounts))
self.windows[name] = {'infos': {}, 'chats': {}} self.windows[name] = {'infos': {}, 'chats': {}}
self.queues[name] = {} self.queues[name] = {}