Ticket #1292: sugar-1292.patch

File sugar-1292.patch, 843 bytes (added by alsroot, 15 years ago)
  • src/sugar/graphics/palettewindow.py

    From 7a03b92b0c295a06d1753afd6a49c40d3b0d37c4 Mon Sep 17 00:00:00 2001
    From: Aleksey Lim <alsroot@member.fsf.org>
    Date: Sun, 6 Sep 2009 22:41:37 +0000
    Subject: Do not fail on immediate second palette openning for bottom icons #1292
    
    ---
     src/sugar/graphics/palettewindow.py |    3 +--
     1 files changed, 1 insertions(+), 2 deletions(-)
    
    diff --git a/src/sugar/graphics/palettewindow.py b/src/sugar/graphics/palettewindow.py
    index d1ad9d5..bcd0168 100644
    a b class PaletteWindow(gtk.Window): 
    401401
    402402        x = win_x + rectangle.x
    403403        y = win_y + rectangle.y
    404         width = rectangle.width
    405         height = rectangle.height
     404        width, height = self.size_request()
    406405
    407406        return gtk.gdk.Rectangle(x, y, width, height)
    408407