Fix #3611 and parts of #4084 by setting the palette to be a transient window of the actiity.

This commit is contained in:
Benjamin Berg 2008-02-25 14:45:21 +00:00
parent ee4a4ece7c
commit c9871633e3

View File

@ -414,6 +414,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()