Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Jam/Popup.py
diff options
context:
space:
mode:
authoramartin <olpc@xo-05-28-21.localdomain>2007-09-10 05:03:46 (GMT)
committer amartin <olpc@xo-05-28-21.localdomain>2007-09-10 05:03:46 (GMT)
commit94bb67b45c07c8ba6fa94be17852e29958d6c75d (patch)
treee09658498ce3d6e2b2841cb57b2390363a9f149b /Jam/Popup.py
parent7e682ce7620f1f8a9fb9b4ffc4f4039dbfdffc56 (diff)
parentf5c1a8c3c8fa92d25c45345f971e2789ffb58271 (diff)
Merge branch 'master' of git+ssh://amartin@dev.laptop.org/git/projects/tamtam
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 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