for account_modification_window default for GUI via glade and not via code [cleaner & better]
This commit is contained in:
parent
c847d8c2e2
commit
1c9e02e2f5
|
@ -925,13 +925,6 @@ class Account_modification_window:
|
|||
self.plugin = plugin
|
||||
self.account = account
|
||||
self.modify = False
|
||||
self.xml.get_widget('gpg_key_label').set_text('No key selected')
|
||||
self.xml.get_widget('gpg_name_label').set_text('')
|
||||
self.xml.get_widget('gpg_save_password_checkbutton').set_sensitive(False)
|
||||
self.xml.get_widget('gpg_password_entry').set_sensitive(False)
|
||||
self.xml.get_widget('password_entry').set_sensitive(False)
|
||||
self.xml.get_widget('log_history_checkbutton').set_active(True)
|
||||
self.xml.get_widget('use_tls_checkbutton').set_active(True)
|
||||
|
||||
#default is checked
|
||||
self.xml.get_widget('sync_with_global_status_checkbutton').set_active(1)
|
||||
|
|
|
@ -808,6 +808,7 @@
|
|||
<child>
|
||||
<widget class="GtkEntry" id="password_entry">
|
||||
<property name="visible">True</property>
|
||||
<property name="sensitive">False</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="editable">True</property>
|
||||
<property name="visibility">False</property>
|
||||
|
@ -983,7 +984,7 @@
|
|||
<property name="use_underline">True</property>
|
||||
<property name="relief">GTK_RELIEF_NORMAL</property>
|
||||
<property name="focus_on_click">True</property>
|
||||
<property name="active">False</property>
|
||||
<property name="active">True</property>
|
||||
<property name="inconsistent">False</property>
|
||||
<property name="draw_indicator">True</property>
|
||||
</widget>
|
||||
|
@ -1079,7 +1080,7 @@
|
|||
<property name="use_underline">True</property>
|
||||
<property name="relief">GTK_RELIEF_NORMAL</property>
|
||||
<property name="focus_on_click">True</property>
|
||||
<property name="active">False</property>
|
||||
<property name="active">True</property>
|
||||
<property name="inconsistent">False</property>
|
||||
<property name="draw_indicator">True</property>
|
||||
</widget>
|
||||
|
@ -1219,6 +1220,7 @@
|
|||
<child>
|
||||
<widget class="GtkCheckButton" id="gpg_save_password_checkbutton">
|
||||
<property name="visible">True</property>
|
||||
<property name="sensitive">False</property>
|
||||
<property name="tooltip" translatable="yes">If checked Gajim will store the password in ~/.gajim/config with 'read' permission only for only you and of course the superuser</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="label" translatable="yes">Save _passphrase (insecure)</property>
|
||||
|
@ -1240,6 +1242,7 @@
|
|||
<child>
|
||||
<widget class="GtkEntry" id="gpg_password_entry">
|
||||
<property name="visible">True</property>
|
||||
<property name="sensitive">False</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="editable">True</property>
|
||||
<property name="visibility">True</property>
|
||||
|
|
Loading…
Reference in New Issue