Do not fail on immediate second palette openning for bottom icons #1292
This commit is contained in:
parent
dc0701dacf
commit
cb5951d3b9
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user