All the code in one batch
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
from message.simple_messages import ListItemClick
|
||||
from message.simple_messages import NoReset, Reset, ModalNotOkClose
|
||||
from message.translation_edit import EditTranslation, MoveRight, MoveLeft, BinTranslation
|
||||
from message.show_messages import ShowMenu, ShowEditTranslation, ShowSenseLabelEdit, ShowSenseDefinitionEdit, ShowCommentEdit, ShowAddTranslation
|
||||
from message.simple_edits import EditSenseLabel, EditSenseDefinition, EditComment
|
||||
from message.message import msg
|
||||
|
||||
|
||||
def msg(message_class):
|
||||
from update import update
|
||||
def callback(arg):
|
||||
message_instance = message_class(arg)
|
||||
update.schedule(message_instance)
|
||||
return callback
|
||||
|
||||
|
||||
Reference in New Issue
Block a user