From 068285ba1955b5e7d7dd3ec3a1b79c73ca190cf3 Mon Sep 17 00:00:00 2001 From: Nico Alt <nicoalt@posteo.org> Date: Thu, 31 Dec 2020 12:00:00 +0000 Subject: [PATCH] Delete handlers module Following the restructuring of the last commits. --- briar-gtk/briar_gtk/conversation/conversation_presenter.py | 2 +- briar-gtk/briar_gtk/handlers/__init__.py | 7 ------- .../{handlers/notification.py => notification_handler.py} | 2 +- 3 files changed, 2 insertions(+), 9 deletions(-) delete mode 100644 briar-gtk/briar_gtk/handlers/__init__.py rename briar-gtk/briar_gtk/{handlers/notification.py => notification_handler.py} (98%) diff --git a/briar-gtk/briar_gtk/conversation/conversation_presenter.py b/briar-gtk/briar_gtk/conversation/conversation_presenter.py index 3c9064a..9405aec 100644 --- a/briar-gtk/briar_gtk/conversation/conversation_presenter.py +++ b/briar-gtk/briar_gtk/conversation/conversation_presenter.py @@ -2,7 +2,7 @@ # SPDX-License-Identifier: AGPL-3.0-only # License-Filename: LICENSE.md -from briar_gtk.handlers.notification import NotificationHandler +from briar_gtk.notification_handler import NotificationHandler from briar_gtk.private_chat.private_chat_presenter import PrivateChatPresenter from briar_gtk.define import APP from briar_gtk.private_chat.private_chat_view import PrivateChatView diff --git a/briar-gtk/briar_gtk/handlers/__init__.py b/briar-gtk/briar_gtk/handlers/__init__.py deleted file mode 100644 index 09832ee..0000000 --- a/briar-gtk/briar_gtk/handlers/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# Copyright (c) 2020 Nico Alt -# SPDX-License-Identifier: AGPL-3.0-only -# License-Filename: LICENSE.md -""" -Similar to presenters, handlers react to input, but they aren't attached -to a view -""" diff --git a/briar-gtk/briar_gtk/handlers/notification.py b/briar-gtk/briar_gtk/notification_handler.py similarity index 98% rename from briar-gtk/briar_gtk/handlers/notification.py rename to briar-gtk/briar_gtk/notification_handler.py index f42e41c..343ceb6 100644 --- a/briar-gtk/briar_gtk/handlers/notification.py +++ b/briar-gtk/briar_gtk/notification_handler.py @@ -1,4 +1,4 @@ -# Copyright (c) 2020 Nico Alt +# Copyright (c) 2020-2021 Nico Alt # SPDX-License-Identifier: AGPL-3.0-only # License-Filename: LICENSE.md -- GitLab