mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
virt-manager: Small startup error reporting fix
Make sure we import gtk into the global namespace
This commit is contained in:
parent
ad10be064b
commit
8c05c33abc
@ -294,6 +294,7 @@ def main():
|
|||||||
gobject.set_prgname(appname)
|
gobject.set_prgname(appname)
|
||||||
|
|
||||||
import gtk
|
import gtk
|
||||||
|
globals()["gtk"] = gtk
|
||||||
except Warning, e:
|
except Warning, e:
|
||||||
# ...the risk is we catch too much though
|
# ...the risk is we catch too much though
|
||||||
# Damned if we do, damned if we dont :-)(
|
# Damned if we do, damned if we dont :-)(
|
||||||
|
Loading…
Reference in New Issue
Block a user