Commit d8101ac4 authored by Philipp Hörist's avatar Philipp Hörist

Remove unused code

parent 3e5da209
Pipeline #5978 passed with stages
in 3 minutes and 35 seconds
......@@ -57,8 +57,7 @@ class SettingKind(IntEnum):
FILECHOOSER = 10
CHANGEPASSWORD = 11
COMBO = 12
CHATSTATE_COMBO = 13
COLOR = 14
COLOR = 13
@unique
......
......@@ -98,7 +98,6 @@ class SettingsBox(Gtk.ListBox):
SettingKind.HOSTNAME: CutstomHostnameSetting,
SettingKind.CHANGEPASSWORD: ChangePasswordSetting,
SettingKind.COMBO: ComboSetting,
SettingKind.CHATSTATE_COMBO: ChatstateComboSetting,
}
if extend is not None:
......@@ -575,15 +574,6 @@ class ComboSetting(GenericSetting):
pass
class ChatstateComboSetting(ComboSetting):
def on_value_change(self, combo):
self.set_value(combo.get_active_id())
if 'muc' in self.value:
app.config.del_all_per('rooms', 'send_chatstate')
else:
app.config.del_all_per('contacts', 'send_chatstate')
class ProxyComboSetting(GenericSetting):
__gproperties__ = {
......
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