projects
/
drlaunch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fe5551
)
Bug fix.
author
Stefanos Harhalakis
<v13@v13.gr>
Fri, 16 Jul 2010 20:04:51 +0000
(20:04 +0000)
committer
Stefanos Harhalakis
<v13@v13.gr>
Fri, 16 Jul 2010 20:04:51 +0000
(20:04 +0000)
src/icongrid.py
patch
|
blob
|
history
diff --git
a/src/icongrid.py
b/src/icongrid.py
index
5924031
..
ffe098d
100755
(executable)
--- a/
src/icongrid.py
+++ b/
src/icongrid.py
@@
-87,11
+87,14
@@
class IconGrid(object): #(gobject.GObject):
if not isinstance(self, gtk.Widget):
return
- v=self.get_property('is-on-current-desktop')
- if v:
+ try:
+ v=self.get_property('is-on-current-desktop')
+ if v:
+ self.queue_draw()
+ else:
+ self.draw_pending=True
+ except TypeError:
self.queue_draw()
- else:
- self.draw_pending=True
def iconAt(self, x, y):
""" Get icon at coordinates x,y. X and Y are in pixels """