Esempio 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)
Esempio 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)
 def connect_to_signals(self):
     louie.connect(self.device_added, N.SIG_DEVICE_ADDED)
     louie.connect(self.device_removed, N.SIG_DEVICE_REMOVED)