projects
/
drlaunch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1419628
)
Fixed resizing issue.
author
Stefanos Harhalakis
<v13@v13.gr>
Sun, 18 Jul 2010 11:08:42 +0000
(11:08 +0000)
committer
Stefanos Harhalakis
<v13@v13.gr>
Sun, 18 Jul 2010 11:08:42 +0000
(11:08 +0000)
src/widget.py
patch
|
blob
|
history
diff --git
a/src/widget.py
b/src/widget.py
index
0492501
..
c49b2e0
100755
(executable)
--- a/
src/widget.py
+++ b/
src/widget.py
@@
-187,7
+187,7
@@
class DrlaunchPlugin(IconGrid, HomePluginItem, FremantleRotation):
if v and self.draw_pending:
self.queue_draw()
- def resize(self):
+ def resize2(self):
config=self.get_config()
w=(self.size[0] * config.iconsize) + \
@@
-195,10
+195,11
@@
class DrlaunchPlugin(IconGrid, HomePluginItem, FremantleRotation):
h=(self.size[1] * config.iconsize) + \
(self.size[1] * config.iconspace)
self.set_size_request(w, h)
+ self.resize(w, h)
def setSize(self, size):
IconGrid.setSize(self, size)
- self.resize()
+ self.resize2()
hd_plugin_type = DrlaunchPlugin