Ejemplo n.º 1
0
 def __init__(self, _callable):
     super(SMSStoreModel,
           self).__init__(gtk.gdk.Pixbuf, TYPE_STRING, TYPE_STRING,
                          TYPE_PYOBJECT, TYPE_PYOBJECT)
     self._callable = _callable
     self.sconn = None
     louie.connect(self.device_removed_handler, SIG_DEVICE_REMOVED)
Ejemplo n.º 2
0
 def __init__(self, _callable):
     super(SMSStoreModel, self).__init__(gtk.gdk.Pixbuf,
         TYPE_STRING, TYPE_STRING, TYPE_PYOBJECT, TYPE_PYOBJECT)
     self._callable = _callable
     self.sconn = None
     louie.connect(self.device_removed_handler, SIG_DEVICE_REMOVED)
Ejemplo n.º 3
0
 def connect_to_signals(self):
     louie.connect(self.device_added, N.SIG_DEVICE_ADDED)
     louie.connect(self.device_removed, N.SIG_DEVICE_REMOVED)