From caccfd695531a5087e804bfa2c113679383c0805 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Mon, 13 Jun 2005 10:57:49 +0000 Subject: [PATCH] gui now has custom hostname port --- src/config.py | 4 + src/gtkgui.glade | 567 ++++++++++++++++++++++++++++------------------- 2 files changed, 346 insertions(+), 225 deletions(-) diff --git a/src/config.py b/src/config.py index 95b719a1e..654a03c2d 100644 --- a/src/config.py +++ b/src/config.py @@ -1303,6 +1303,10 @@ _('There was a problem retrieving your GPG secret keys.')).get_response() if not widget.get_active(): w.set_text('') + def on_custom_host_port_checkbutton_toggled(self, widget): + isactive = widget.get_active() + self.xml.get_widget('custom_host_port_hbox').set_sensitive(isactive) + def on_gpg_save_password_checkbutton_toggled(self, widget): self.on_checkbutton_toggled_and_clear(widget, [ self.xml.get_widget('gpg_password_entry')]) diff --git a/src/gtkgui.glade b/src/gtkgui.glade index e94755ac8..6bdbbbf8a 100644 --- a/src/gtkgui.glade +++ b/src/gtkgui.glade @@ -939,239 +939,67 @@ - - True - False - 0 - - - - 6 - True - False - 6 - - - - True - If checked, Gajim, when launched, will automatically connect to jabber using this account - True - C_onnect at startup - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - True - Conversation _history for all contacts in this account - True - GTK_RELIEF_NORMAL - True - True - False - True - - - 0 - False - False - - - - - - True - True - Synch_ronize account status with global status - True - GTK_RELIEF_NORMAL - True - True - False - True - - - 0 - False - False - - - - - 0 - True - True - - - - - False - True - - - - - - True - General - False - True - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - - - tab - - - - - + 6 True False - 12 + 6 - - 6 + True - False - 6 - - - - True - Proxy: - False - False - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - - - 0 - False - False - - - - - - True - None - - - 0 - True - True - - - - - - True - True - Manage... - True - GTK_RELIEF_NORMAL - True - - - - 0 - False - False - - - - - 0 - True - True - - - - - - True - 0 - 0.5 - GTK_SHADOW_NONE - - - - True - 0.5 - 0.5 - 1 - 1 - 0 - 0 - 12 - 0 - - - - 6 - True - Check this so Gajim will connect in port 5223 where legacy servers are expected to have SSL capabilities. Note that Gajim uses TLS encryption by default, if broadcasted by the server, and with this option enabled you disable TLS - True - Use _SSL (legacy) - True - GTK_RELIEF_NORMAL - True - False - False - True - - - - - - - - True - <b>SSL</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - - - label_item - - + If checked, Gajim, when launched, will automatically connect to jabber using this account + True + C_onnect at startup + True + GTK_RELIEF_NORMAL + True + False + False + True 0 False - True + False + + + + + + True + True + Conversation _history for all contacts in this account + True + GTK_RELIEF_NORMAL + True + True + False + True + + + 0 + False + False + + + + + + True + True + Synch_ronize account status with global status + True + GTK_RELIEF_NORMAL + True + True + False + True + + + 0 + False + False @@ -1353,6 +1181,295 @@ + + 6 + False + True + + + + + False + True + + + + + + True + General + False + True + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + tab + + + + + + 6 + True + False + 12 + + + + 6 + True + False + 6 + + + + True + Proxy: + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + True + None + + + 0 + True + True + + + + + + True + True + Manage... + True + GTK_RELIEF_NORMAL + True + + + + 0 + False + False + + + + + 0 + False + True + + + + + + True + 0 + 0.5 + GTK_SHADOW_NONE + + + + True + 0.5 + 0.5 + 1 + 1 + 0 + 0 + 12 + 0 + + + + 6 + True + False + 6 + + + + True + Check this so Gajim will connect in port 5223 where legacy servers are expected to have SSL capabilities. Note that Gajim uses TLS encryption by default, if broadcasted by the server, and with this option enabled you disable TLS + True + Use _SSL (legacy) + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + Use custom hostname/port + True + GTK_RELIEF_NORMAL + True + False + False + True + + + + 0 + False + False + + + + + + True + False + False + 6 + + + + True + Hostname: + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + True + True + True + True + 0 + + True + * + False + + + + 0 + True + True + + + + + + True + Port: + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + True + True + True + True + 0 + 5222 + True + * + False + 6 + + + + 0 + False + True + + + + + 0 + True + True + + + + + + + + + + True + <b>Miscellaneous</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + label_item + + + 0 False @@ -2793,9 +2910,9 @@ True - If checked, Gajim will remember the roster window position in the screen and the size of it next time you run it + If checked, Gajim will remember the roster and chat window positions in the screen and the sizes of them next time you run it True - Save roster _position and size + Save _position and size for roster and chat windows True GTK_RELIEF_NORMAL True