From 7bf519dca1c671434122d6a5218c3fa4fa083581 Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Wed, 1 Dec 2010 17:03:38 +0300 Subject: [PATCH] remove unused handler --- src/gui_interface.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/gui_interface.py b/src/gui_interface.py index 3f6169937..9116ae0a0 100644 --- a/src/gui_interface.py +++ b/src/gui_interface.py @@ -102,10 +102,6 @@ class Interface: ### Methods handling events from connection ################################################################################ - def handle_event_warning(self, unused, data): - #('WARNING', account, (title_text, section_text)) - dialogs.WarningDialog(data[0], data[1]) - def handle_event_error(self, unused, data): #('ERROR', account, (title_text, section_text)) dialogs.ErrorDialog(data[0], data[1]) @@ -1380,7 +1376,6 @@ class Interface: def create_core_handlers_list(self): self.handlers = { - 'WARNING': [self.handle_event_warning], 'ERROR': [self.handle_event_error], 'DB_ERROR': [self.handle_event_db_error], 'INFORMATION': [self.handle_event_information],