| 71 | |
| 72 | = use version 0.9.1 on Debian 6.0 = |
| 73 | * wheezyリポジトリを使えるようにする => [../../Linux/Debian#usewheezypackages] |
| 74 | |
| 75 | * mitty@squeeze:~$ virt-manager |
| 76 | {{{ |
| 77 | /usr/share/virt-manager/virt-manager.py:306: DeprecationWarning: Importing dbus.glib to use the GLib main loop with dbus-python is deprecated. |
| 78 | Instead, use this sequence: |
| 79 | |
| 80 | from dbus.mainloop.glib import DBusGMainLoop |
| 81 | |
| 82 | DBusGMainLoop(set_as_default=True) |
| 83 | |
| 84 | import dbus.glib |
| 85 | }}} |
| 86 | * => [http://git.fedorahosted.org/git/?p=virt-manager.git;a=commitdiff;h=cda1dd81f95ab335389eadfbdfe33e49785d6bb2;hp=51360f885433271dded02ca63147553d57d5090d Fedora Hosted Git Repositories - virt-manager.git/commitdiff] |
| 87 | {{{#!diff |
| 88 | index 464cf02..18f407e 100755 (executable) |
| 89 | --- a/src/virt-manager.py.in |
| 90 | +++ b/src/virt-manager.py.in |
| 91 | @@ -302,8 +302,9 @@ def main(): |
| 92 | gobject.threads_init() |
| 93 | |
| 94 | import dbus |
| 95 | - import dbus.glib |
| 96 | - dbus.glib.threads_init() |
| 97 | + import dbus.mainloop.glib |
| 98 | + dbus.mainloop.glib.DBusGMainLoop(set_as_default=True) |
| 99 | + dbus.mainloop.glib.threads_init() |
| 100 | import dbus.service |
| 101 | |
| 102 | # Specifically init config/gconf before the fork, so that pam |
| 103 | }}} |