#NEWLINE# def popup( self , widget = None ) : #NEWLINE# #INDENT# menu = self . widget #NEWLINE# menu . show_all ( ) #NEWLINE# if six . PY2 : #NEWLINE# #INDENT# now = long ( 0 ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# now = int ( 0 ) #NEWLINE# #UNINDENT# if gtksel . have_gtk3 : #NEWLINE# #INDENT# menu . popup ( None , None , None , None , 0 , now ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# menu . popup ( None , None , None , 0 , widget )