From 024e977ac48ddccb3d7300d81cb3fdfa4e3af53d Mon Sep 17 00:00:00 2001 From: Diego Garcia Gangl Date: Fri, 17 Jan 2020 21:01:18 -0300 Subject: [PATCH] Update untouched tasks for new api Following #222 --- GTG/plugins/untouched_tasks/untouchedTasks.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/GTG/plugins/untouched_tasks/untouchedTasks.py b/GTG/plugins/untouched_tasks/untouchedTasks.py index 2e0f70d6f8..36d1fb30a9 100644 --- a/GTG/plugins/untouched_tasks/untouchedTasks.py +++ b/GTG/plugins/untouched_tasks/untouchedTasks.py @@ -57,8 +57,10 @@ def __init__(self): "on_btn_preferences_ok_clicked": self.on_preferences_ok, } + self.builder.connect_signals(SIGNAL_CONNECTIONS_DIC) - self.menu_item = Gtk.MenuItem("Add @untouched tag") + self.menu_item = Gtk.ModelButton.new() + self.menu_item.set_label("Add @untouched tag") self.menu_item.connect('activate', self.add_untouched_tag) def activate(self, plugin_api):