Skip to content
Snippets Groups Projects
Commit 3070c720 authored by Dicson's avatar Dicson
Browse files

QuickRepliesPlugin. pep8

parent b2341159
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@ class QuickRepliesPlugin(GajimPlugin):
self.chat_control = None
self.gui_extension_points = {
'chat_control_base': (self.connect_with_chat_control,
self.disconnect_from_chat_control),}
self.disconnect_from_chat_control), }
self.config_default_values = {
'entry1': ('Hello!', ''),
'entry2': ('How are you?', ''),
......@@ -45,6 +45,7 @@ class QuickRepliesPlugin(GajimPlugin):
control.disconnect_from_chat_control()
self.controls = []
class Base(object):
def __init__(self, plugin, chat_control):
......@@ -108,6 +109,7 @@ class Base(object):
actions_hbox = self.chat_control.xml.get_object('actions_hbox')
actions_hbox.remove(self.button)
class QuickRepliesPluginConfigDialog(GajimPluginConfigDialog):
def init(self):
......@@ -133,4 +135,3 @@ class QuickRepliesPluginConfigDialog(GajimPluginConfigDialog):
self.plugin.config[name] = widget.get_text()
for control in self.plugin.controls:
control.create_menu()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment