#NEWLINE# def activated( self ) : #NEWLINE# #INDENT# " Overriden to set the window's title.\n        " #NEWLINE# filename = self . window . central_pane . editor . path #NEWLINE# self . window . title = ( filename if self else 'Untitled' )