From 1353525bf220bd4dc122e4dfa059db658721aa52 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Wed, 11 May 2005 21:02:22 +0000 Subject: [PATCH] fixing a gui bug with sensitivity for proxy table (thanks owen from #gtk+ irc room --- src/config.py | 5 +- src/gtkgui.glade | 403 ++++++++++++++++++++++++----------------------- 2 files changed, 211 insertions(+), 197 deletions(-) diff --git a/src/config.py b/src/config.py index 35cdb678c..d39d1e0ac 100644 --- a/src/config.py +++ b/src/config.py @@ -941,7 +941,10 @@ class Account_modification_window: def on_use_proxy_checkbutton_toggled(self, widget): proxy_table = self.xml.get_widget('proxy_table') - self.on_checkbutton_toggled(widget, [proxy_table]) + widgets = proxy_table.get_children() + widgets.append(proxy_table) + self.on_checkbutton_toggled(widget, widgets) + 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 24c078d98..9d45eedec 100644 --- a/src/gtkgui.glade +++ b/src/gtkgui.glade @@ -1348,198 +1348,10 @@ 0 - - 5 + True - 5 - 2 False - 5 - 5 - - - - True - _Port: - True - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - proxyport_entry - - - 0 - 1 - 2 - 3 - fill - - - - - - - True - True - True - True - 0 - - True - * - False - - - 1 - 2 - 1 - 2 - - - - - - - True - _Host: - True - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - proxyhost_entry - - - 0 - 1 - 1 - 2 - fill - - - - - - - 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 - proxyuser_entry - - - 0 - 1 - 3 - 4 - fill - - - - - - - True - Pass_word: - True - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - proxypass_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 - - - + 0 @@ -1555,12 +1367,211 @@ - 1 - 2 - 0 - 1 - fill - + 0 + False + False + + + + + + 5 + True + False + 4 + 2 + False + 5 + 5 + + + + True + _Host: + True + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + proxyhost_entry + + + 0 + 1 + 0 + 1 + fill + + + + + + + True + _Port: + True + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + proxyport_entry + + + 0 + 1 + 1 + 2 + fill + + + + + + + True + _Username: + True + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + proxyuser_entry + + + 0 + 1 + 2 + 3 + fill + + + + + + + True + Pass_word: + True + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + proxypass_entry + + + 0 + 1 + 3 + 4 + fill + + + + + + + True + True + True + True + 0 + + True + * + False + + + 1 + 2 + 0 + 1 + + + + + + + True + True + True + True + 0 + 3128 + True + * + False + + + 1 + 2 + 1 + 2 + + + + + + + True + True + True + True + 0 + + True + * + False + + + 1 + 2 + 2 + 3 + + + + + + + True + True + True + True + 0 + + True + * + False + + + 1 + 2 + 3 + 4 + + + + + + 0 + True + True