diff options
author | Benjamin Berg <benjamin@sipsolutions.net> | 2008-02-25 14:45:21 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2008-05-20 10:32:48 (GMT) |
commit | 60c8ee51d32724960bddff05236f1aeccb605fd2 (patch) | |
tree | 2542112fb0b8ba274d5845c10caf03eb52bc15d0 | |
parent | edac3e893f8752b4fade256234cbaef3225aad5c (diff) |
Fix #3611 and parts of #4084 by setting the palette to be a transient window of the actiity.
-rw-r--r-- | lib/sugar/graphics/palette.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sugar/graphics/palette.py b/lib/sugar/graphics/palette.py index 66850f9..e84cc51 100644 --- a/lib/sugar/graphics/palette.py +++ b/lib/sugar/graphics/palette.py @@ -415,6 +415,7 @@ class Palette(gtk.Window): self._update_full_request() self._alignment = self._invoker.get_alignment(self._full_request) self._update_position() + self.set_transient_for(self._invoker.get_toplevel()) self.menu.set_active(True) self.show() |