Do not fail on immediate second palette openning for bottom icons #1292

This commit is contained in:
Aleksey Lim 2009-09-06 22:41:37 +00:00
parent dc0701dacf
commit cb5951d3b9

View File

@ -393,8 +393,7 @@ class PaletteWindow(gtk.Window):
x = win_x + rectangle.x x = win_x + rectangle.x
y = win_y + rectangle.y y = win_y + rectangle.y
width = rectangle.width width, height = self.size_request()
height = rectangle.height
return gtk.gdk.Rectangle(x, y, width, height) return gtk.gdk.Rectangle(x, y, width, height)