Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/graphics/toolbox.py
diff options
context:
space:
mode:
authorSimon Schampijer <simon@schampijer.de>2008-04-24 14:55:19 (GMT)
committer Simon Schampijer <simon@schampijer.de>2008-04-24 14:55:19 (GMT)
commit83f76f115a89b9430f00c93d7a11b2d61e1001b1 (patch)
treec69e727d636fddf0d3796c55fe6b1c25b82f53be /sugar/graphics/toolbox.py
parent08c1d17cb014a6baf23fd526c93d45dada4fad08 (diff)
Use new style for unused variables
Diffstat (limited to 'sugar/graphics/toolbox.py')
-rw-r--r--sugar/graphics/toolbox.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sugar/graphics/toolbox.py b/sugar/graphics/toolbox.py
index 4897add..f0889be 100644
--- a/sugar/graphics/toolbox.py
+++ b/sugar/graphics/toolbox.py
@@ -59,7 +59,7 @@ class Toolbox(gtk.VBox):
def add_toolbar(self, name, toolbar):
label = gtk.Label(name)
- width = label.size_request()[0]
+ width, height_ = label.size_request()
label.set_size_request(max(width, style.TOOLBOX_TAB_LABEL_WIDTH), -1)
label.set_alignment(0.0, 0.5)