~brendan-donegan/checkbox/bug942769_cciss_disk_commands

« back to all changes in this revision

Viewing changes to checkbox_qt/qt_interface.py

  • Committer: Marc Tardif
  • Date: 2012-02-22 21:05:54 UTC
  • mfrom: (1273.1.1 bug-937099)
  • Revision ID: marc.tardif@canonical.com-20120222210554-luxdsr0bjbiwaxk2
MergedĀ fromĀ bug-937099.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
import time
21
21
import posixpath
22
22
import inspect
23
 
import gobject
 
23
from gi.repository import GObject
24
24
import os
25
25
 
26
26
from gettext import gettext as _
51
51
                self.bus = dbus.SessionBus(mainloop=DBusGMainLoop())
52
52
                self.qtfront = self.bus.get_object('com.canonical.QtCheckbox', '/QtCheckbox')
53
53
                self.qtiface = dbus.Interface(self.qtfront, dbus_interface='com.canonical.QtCheckbox')
54
 
                self.loop = gobject.MainLoop()
 
54
                self.loop = GObject.MainLoop()
55
55
                notReady = False
56
56
            except:
57
57
                time.sleep(0.5)