Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Jam/Popup.py
diff options
context:
space:
mode:
authorNat <natcl@hotmail.com>2007-09-06 17:04:03 (GMT)
committer Nat <natcl@hotmail.com>2007-09-06 17:04:03 (GMT)
commitda7e224132dcaf19520ae675eb867ce8dc1fcbe3 (patch)
treefca0968c31a85c7c5742f68e90e771c0e150e050 /Jam/Popup.py
parent853ab0577d0dbe06fe2ea675109c57d5999dba07 (diff)
Jam palettes
Diffstat (limited to 'Jam/Popup.py')
-rw-r--r--Jam/Popup.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/Jam/Popup.py b/Jam/Popup.py
index 587a34d..784087f 100644
--- a/Jam/Popup.py
+++ b/Jam/Popup.py
@@ -14,9 +14,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 )
@@ -32,7 +30,6 @@ class Popup( Palette ):
self.owner = owner
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