Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/printerDeviceIcon.py
diff options
context:
space:
mode:
Diffstat (limited to 'printerDeviceIcon.py')
-rwxr-xr-x[-rw-r--r--]printerDeviceIcon.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/printerDeviceIcon.py b/printerDeviceIcon.py
index c48a2cd..b8d3ce5 100644..100755
--- a/printerDeviceIcon.py
+++ b/printerDeviceIcon.py
@@ -82,14 +82,14 @@ class PrinterPalette(Palette):
except TypeError:
pass
- def cancel(self,widget,key):
+ def cancel(self, widget, key):
self._model.cancelAJob(key)
self.menu.remove(self._hbars[key])
#self.connectEvents(self)
del self._hbars[key]
- def createHBars(self,status,title,jobid):
+ def createHBars(self, status, title, jobid):
self._cancel = MenuItem('')
self._icon = Icon(icon_size=gtk.ICON_SIZE_MENU)
@@ -238,7 +238,7 @@ class PrinterManagerObserver(object):
def deviceAdded(self, printerLoc):
- self._PrinterObj = self._bus.get_object(_PRINTER_SERVICE,printerLoc)
+ self._PrinterObj = self._bus.get_object(_PRINTER_SERVICE,printerLoc)
self._printeriface = dbus.Interface(self._PrinterObj, _PRINTER_IFACE)
try:
print self._printeriface.GetProperty('info.capabilities')[0]