From 8175a92f7d95421cd1df505a7d32f782a8c52571 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Tue, 10 May 2005 15:08:31 +0000 Subject: [PATCH] proxy user/pass gui rdy --- src/config.py | 6 +- src/gtkgui.glade | 150 ++++++++++++++++++++++++++++++++++++++--------- 2 files changed, 123 insertions(+), 33 deletions(-) diff --git a/src/config.py b/src/config.py index 1e3f18d54..ef0ac1c6d 100644 --- a/src/config.py +++ b/src/config.py @@ -923,10 +923,8 @@ class Account_modification_window: w.set_sensitive(widget.get_active()) def on_use_proxy_checkbutton_toggled(self, widget): - proxyhost_entry = self.xml.get_widget('proxyhost_entry') - proxyport_entry = self.xml.get_widget('proxyport_entry') - self.on_checkbutton_toggled(widget, [proxyhost_entry, - proxyport_entry]) + proxy_table = self.xml.get_widget('proxy_table') + self.on_checkbutton_toggled(widget, [proxy_table]) def init_account_gpg(self): keyid = gajim.config.get_per('accounts', self.account, 'keyid') diff --git a/src/gtkgui.glade b/src/gtkgui.glade index e03130d5f..125f508d8 100644 --- a/src/gtkgui.glade +++ b/src/gtkgui.glade @@ -541,7 +541,7 @@ 4 440 - 270 + 290 Account Modification GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE @@ -979,7 +979,7 @@ True True - _Log history for all contacts in this account + Conversation _history for all contacts in this account True GTK_RELIEF_NORMAL True @@ -1029,7 +1029,7 @@ True - Preferences + General False True GTK_JUSTIFY_LEFT @@ -1345,10 +1345,10 @@ 0 - + 5 True - 3 + 5 2 False 5 @@ -1425,6 +1425,119 @@ + + + True + True + True + True + 0 + 3128 + True + * + False + + + 1 + 2 + 2 + 3 + + + + + + + True + _Username: + True + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + proxyusername_entry + + + 0 + 1 + 3 + 4 + fill + + + + + + + True + Pass_word: + True + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + proxyport_entry + + + 0 + 1 + 4 + 5 + fill + + + + + + + True + True + True + True + 0 + + True + * + False + + + 1 + 2 + 3 + 4 + + + + + + + True + True + True + True + 0 + + True + * + False + + + 1 + 2 + 4 + 5 + + + + True @@ -1447,27 +1560,6 @@ - - - - True - True - True - True - 0 - 3128 - True - * - False - - - 1 - 2 - 2 - 3 - - - @@ -1494,7 +1586,7 @@ 0 - True + False True @@ -1508,7 +1600,7 @@ True - Connection + Proxy False False GTK_JUSTIFY_LEFT @@ -1578,7 +1670,7 @@ True - Details + Personal Details False False GTK_JUSTIFY_LEFT