From bc962489b97edc1a84c04728ccc3f43391c28542 Mon Sep 17 00:00:00 2001 From: Huang Peng Date: Fri, 1 Aug 2008 22:08:02 +0800 Subject: [PATCH] FIx a typo. --- setup/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/main.py b/setup/main.py index 42befc4e..53f3ef7b 100644 --- a/setup/main.py +++ b/setup/main.py @@ -125,7 +125,7 @@ class Setup(object): # do something with the value if data[DATA_STARTED] == False: try: - self.__bus.register_start_engine(data[DATA_NAME], data[DATA_LANG]) + self.__bus.register_start_engine(data[DATA_LANG], data[DATA_NAME]) except Exception, e: dlg = gtk.MessageDialog(type = gtk.MESSAGE_ERROR, buttons = gtk.BUTTONS_CLOSE, @@ -134,7 +134,7 @@ class Setup(object): return else: try: - self.__bus.register_stop_engine(data[DATA_NAME], data[DATA_LANG]) + self.__bus.register_stop_engine(data[DATA_LANG], data[DATA_NAME]) except Exception, e: dlg = gtk.MessageDialog(type = gtk.MESSAGE_ERROR, buttons = gtk.BUTTONS_CLOSE,