virt-manager: Small startup error reporting fix

Make sure we import gtk into the global namespace
This commit is contained in:
Cole Robinson 2010-11-23 20:03:49 -05:00
parent ad10be064b
commit 8c05c33abc

View File

@ -294,6 +294,7 @@ def main():
gobject.set_prgname(appname)
import gtk
globals()["gtk"] = gtk
except Warning, e:
# ...the risk is we catch too much though
# Damned if we do, damned if we dont :-)(