From c7076364211bf243f67a59a3433855ad978e3e6e Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Sun, 8 May 2005 22:08:28 +0000 Subject: [PATCH] tls gui hack ready [this has to be rdy before 0.7 coz we use by default tls now and that may break idiotic servers that say tls is there but is not --- src/config.py | 4 ++ src/gtkgui.glade | 123 ++++++++++++++++++++++++++++++++++++----------- 2 files changed, 98 insertions(+), 29 deletions(-) diff --git a/src/config.py b/src/config.py index 57e865d36..9512fdbfc 100644 --- a/src/config.py +++ b/src/config.py @@ -1290,9 +1290,13 @@ class Account_modification_window: if not widget.get_active(): w.set_text('') + def on_use_tls_checkbutton_toggled(self, widget): + pass # FIXME: yann add your code here :) + def on_gpg_save_password_checkbutton_toggled(self, widget): self.on_checkbutton_toggled_and_clear(widget, [\ self.xml.get_widget('gpg_password_entry')]) + #FIXME: so it doesn't save it?? def on_save_password_checkbutton_toggled(self, widget): if self.xml.get_widget('new_account_checkbutton').get_active(): diff --git a/src/gtkgui.glade b/src/gtkgui.glade index 82b596e4e..f6141b70b 100644 --- a/src/gtkgui.glade +++ b/src/gtkgui.glade @@ -570,8 +570,8 @@ True - Name: - False + _Name: + True False GTK_JUSTIFY_LEFT False @@ -580,6 +580,7 @@ 0.5 0 0 + name_entry 0 @@ -638,8 +639,8 @@ True - Jabber ID: - False + _Jabber ID: + True False GTK_JUSTIFY_LEFT False @@ -648,6 +649,7 @@ 0.5 0 0 + jid_entry 0 @@ -662,8 +664,8 @@ True - Password: - False + _Password: + True False GTK_JUSTIFY_LEFT False @@ -672,6 +674,7 @@ 0.5 0 0 + password_entry 0 @@ -686,8 +689,8 @@ True - Resource: - False + Resour_ce: + True False GTK_JUSTIFY_LEFT False @@ -696,6 +699,7 @@ 0.5 0 0 + resource_entry 0 @@ -710,8 +714,8 @@ True - Priority: - False + Priori_ty: + True False GTK_JUSTIFY_LEFT False @@ -720,6 +724,7 @@ 0.5 0 0 + priority_spinbutton 0 @@ -736,7 +741,7 @@ True Enable if you want to register for a new jabber account True - Register new account + _Register new account True GTK_RELIEF_NORMAL True @@ -760,7 +765,7 @@ True Click to change account's password True - Change + Chan_ge True GTK_RELIEF_NORMAL True @@ -781,7 +786,7 @@ True If enabled, Gajim will remember the password for this account True - Save password + Save pass_word True GTK_RELIEF_NORMAL False @@ -955,7 +960,7 @@ True If enabled, Gajim, when launched, will automatically connect to jabber using this account True - Connect at startup + C_onnect at startup True GTK_RELIEF_NORMAL True @@ -974,7 +979,7 @@ True True - Log history for all contacts in this account + _Log history for all contacts in this account True GTK_RELIEF_NORMAL True @@ -993,7 +998,7 @@ True True - Synchronize account status with global status + Synch_ronize account status with global status True GTK_RELIEF_NORMAL True @@ -1047,6 +1052,68 @@ False 0 + + + True + 0 + 0.5 + GTK_SHADOW_ETCHED_IN + + + + True + 0.5 + 0.5 + 1 + 1 + 0 + 0 + 12 + 0 + + + + True + True + Use _TLS + True + GTK_RELIEF_NORMAL + True + False + False + True + + + + + + + + + True + <b>TLS</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + label_item + + + + + 0 + False + True + + + True @@ -1124,7 +1191,7 @@ True True - Choose key + Choose _key True GTK_RELIEF_NORMAL True @@ -1155,7 +1222,7 @@ True If checked Gajim will store the password in ~/.gajim/config with 'read' permission only for only you and of course the superuser True - Save passphrase (insecure) + Save _passphrase (insecure) True GTK_RELIEF_NORMAL True @@ -1222,14 +1289,10 @@ 0 - True + False True - - - - False @@ -1295,8 +1358,8 @@ True - Port: - False + _Port: + True False GTK_JUSTIFY_LEFT False @@ -1305,6 +1368,7 @@ 0.5 0 0 + proxyport_entry 0 @@ -1340,8 +1404,8 @@ True - Host: - False + _Host: + True False GTK_JUSTIFY_LEFT False @@ -1350,6 +1414,7 @@ 0.5 0 0 + proxyhost_entry 0 @@ -1365,7 +1430,7 @@ True True - Use proxy + _Use proxy True GTK_RELIEF_NORMAL True @@ -1492,7 +1557,7 @@ True True - Edit personal details... + _Edit personal details... True GTK_RELIEF_NORMAL True