usbinstall.py: fix startup due to change in gettext interface
This commit is contained in:
parent
3c050e81ee
commit
0b59771a06
@ -4,7 +4,7 @@
|
|||||||
# Copyright 2011 michiamophil (openmamba user :-)
|
# Copyright 2011 michiamophil (openmamba user :-)
|
||||||
# Copyright 2011-2020 Silvan Calarco
|
# Copyright 2011-2020 Silvan Calarco
|
||||||
# ChangeLog:
|
# ChangeLog:
|
||||||
# (michiamophil on 11/11/11) Rewrited all the graphic code and removed gui.py
|
# (michiamophil on 11/11/11) Rewritten all the graphic code and removed gui.py
|
||||||
|
|
||||||
|
|
||||||
from PyQt4 import QtGui, QtCore
|
from PyQt4 import QtGui, QtCore
|
||||||
@ -403,7 +403,7 @@ def end_forced():
|
|||||||
|
|
||||||
# Program start
|
# Program start
|
||||||
app = QtGui.QApplication(['usbinstall'])
|
app = QtGui.QApplication(['usbinstall'])
|
||||||
gettext.install('usbinstall', '/usr/share/locale', 1)
|
gettext.install('usbinstall', '/usr/share/locale')
|
||||||
window = create_window()
|
window = create_window()
|
||||||
mainloop = GLib.MainLoop()
|
mainloop = GLib.MainLoop()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user