Commit 45f078d1 authored by Philipp Hörist's avatar Philipp Hörist

Preferences: Remove unused methods

Functionality has been moved to Accounts
parent 70f1c0f4
Pipeline #4605 passed with stages
in 3 minutes and 36 seconds
......@@ -912,25 +912,6 @@ class Preferences(Gtk.ApplicationWindow):
if event.keyval == Gdk.KEY_Delete:
self.on_delete_msg_button_clicked(widget)
### Privacy tab ###
def on_send_idle_time_checkbutton_toggled(self, widget):
widget.set_inconsistent(False)
self.on_per_account_checkbutton_toggled(widget, 'send_idle_time')
def on_send_time_info_checkbutton_toggled(self, widget):
widget.set_inconsistent(False)
self.on_per_account_checkbutton_toggled(widget, 'send_time_info')
def on_send_os_info_checkbutton_toggled(self, widget):
widget.set_inconsistent(False)
self.on_per_account_checkbutton_toggled(widget, 'send_os_info')
for con in app.connections.values():
con.get_module('SoftwareVersion').set_enabled(widget.get_active())
def on_ignore_events_from_unknown_contacts_checkbutton_toggled(self, widget):
widget.set_inconsistent(False)
self.on_per_account_checkbutton_toggled(widget, 'ignore_unknown_contacts')
### Style ###
@staticmethod
def on_theme_combobox_changed(combobox):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment