This commit is contained in:
Huang Peng 2008-08-06 23:13:35 +08:00
Родитель 9dcfd4267e
Коммит 910d645f07
1 изменённых файлов: 3 добавлений и 4 удалений

Просмотреть файл

@ -70,7 +70,7 @@ class Setup(object):
self.__bus = ibus.Bus()
except:
while self.__bus == None:
message = _("IBus daemon is not started.\nDo you want to start it now?")
message = _("IBus daemon is not started. Do you want to start it now?")
print >> sys.stderr, message
dlg = gtk.MessageDialog(type = gtk.MESSAGE_QUESTION,
buttons = gtk.BUTTONS_YES_NO,
@ -86,8 +86,8 @@ class Setup(object):
self.__bus = ibus.Bus()
except:
continue
message = _("IBus has been started!\n" + \
"If you can not use IBus, please add below lines in $HOME/.bashrc!\n" + \
message = _("IBus has been started! " + \
"If you can not use IBus, please add below lines in $HOME/.bashrc, and relogin your desktop.\n" + \
" export GTK_IM_MODULE=ibus\n" + \
" export XMODIFIERS=@im=ibus\n"
" export QT_IM_MODULE=ibus"
@ -99,7 +99,6 @@ class Setup(object):
dlg.destroy()
self.__flush_gtk_events()
# add icon search path
icon_theme = gtk.icon_theme_get_default()
dir = path.dirname(__file__)