From ef4662ba50337ec234c1ce8cd9693b555139c3b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Br=C3=B6tzmann?= Date: Mon, 11 May 2020 10:10:28 +0200 Subject: [PATCH] [quick_replies] Remove obsolete file, fix pylint warning --- quick_replies/config_dialog.ui | 303 --------------------------------- quick_replies/plugin.py | 2 +- 2 files changed, 1 insertion(+), 304 deletions(-) delete mode 100644 quick_replies/config_dialog.ui diff --git a/quick_replies/config_dialog.ui b/quick_replies/config_dialog.ui deleted file mode 100644 index 9398f0e..0000000 --- a/quick_replies/config_dialog.ui +++ /dev/null @@ -1,303 +0,0 @@ - - - - - - False - 140 - 100 - - - True - False - 10 - 2 - - - True - False - 1 - - - - - True - False - 2 - - - 1 - 2 - - - - - True - False - 3 - - - 2 - 3 - - - - - True - True - - False - False - True - True - - - - 1 - 2 - - - - - True - True - - False - False - True - True - - - - 1 - 2 - 1 - 2 - - - - - True - True - - False - False - True - True - - - - 1 - 2 - 2 - 3 - - - - - True - True - - False - False - True - True - - - - 1 - 2 - 3 - 4 - - - - - True - True - - False - False - True - True - - - - 1 - 2 - 4 - 5 - - - - - True - True - - True - False - False - True - True - - - - 1 - 2 - 5 - 6 - - - - - True - True - - False - False - True - True - - - - 1 - 2 - 6 - 7 - - - - - True - True - - False - False - True - True - - - - 1 - 2 - 7 - 8 - - - - - True - True - - False - False - True - True - - - - 1 - 2 - 8 - 9 - - - - - True - True - - False - False - True - True - - - - 1 - 2 - 9 - 10 - - - - - True - False - 4 - - - 3 - 4 - - - - - True - False - 5 - - - 4 - 5 - - - - - True - False - 6 - - - 5 - 6 - - - - - True - False - 7 - - - 6 - 7 - - - - - True - False - 8 - - - 7 - 8 - - - - - True - False - 9 - - - 8 - 9 - - - - - True - False - 10 - - - 9 - 10 - - - - - - diff --git a/quick_replies/plugin.py b/quick_replies/plugin.py index 683bb52..d173c57 100644 --- a/quick_replies/plugin.py +++ b/quick_replies/plugin.py @@ -106,7 +106,7 @@ class QuickRepliesButton(Gtk.MenuButton): self._menu.show_all() self.set_popup(self._menu) - def _on_insert(self, widget, text): + def _on_insert(self, _widget, text): message_buffer = self._chat_control.msg_textview.get_buffer() self._chat_control.msg_textview.remove_placeholder() message_buffer.insert_at_cursor(text.rstrip() + ' ')