remove unused handler

This commit is contained in:
Denis Fomin 2010-12-01 17:03:38 +03:00
parent c6b04f3bc5
commit 7bf519dca1

View file

@ -102,10 +102,6 @@ class Interface:
### Methods handling events from connection ### 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): def handle_event_error(self, unused, data):
#('ERROR', account, (title_text, section_text)) #('ERROR', account, (title_text, section_text))
dialogs.ErrorDialog(data[0], data[1]) dialogs.ErrorDialog(data[0], data[1])
@ -1380,7 +1376,6 @@ class Interface:
def create_core_handlers_list(self): def create_core_handlers_list(self):
self.handlers = { self.handlers = {
'WARNING': [self.handle_event_warning],
'ERROR': [self.handle_event_error], 'ERROR': [self.handle_event_error],
'DB_ERROR': [self.handle_event_db_error], 'DB_ERROR': [self.handle_event_db_error],
'INFORMATION': [self.handle_event_information], 'INFORMATION': [self.handle_event_information],