diff options
Diffstat (limited to 'Jam/Popup.py')
-rw-r--r-- | Jam/Popup.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Jam/Popup.py b/Jam/Popup.py index 2326e3a..6f6a7e1 100644 --- a/Jam/Popup.py +++ b/Jam/Popup.py @@ -30,9 +30,7 @@ class NoneInvoker( Invoker ): def __init__( self ): Invoker.__init__( self ) - - def get_default_position( self ): - return Palette.AT_CURSOR + self._position_hint = Invoker.AT_CURSOR def get_rect( self ): return gtk.gdk.Rectangle( 0, 0, 0, 0 ) @@ -50,7 +48,6 @@ class Popup( Palette ): self.block = None self.props.invoker = NoneInvoker() - self.set_property( "position", Palette.AT_CURSOR ) self.set_group_id( "TamTamPopup" ) self._set_state( Palette.SECONDARY ) # skip to fully exposed |