#NEWLINE# def on_title_edited( self , text ) : #NEWLINE# #INDENT# " Handle the 'titleEdited' signal on the dock item.\n\n        " #NEWLINE# d = self . declaration #NEWLINE# if ( d is not None ) : #NEWLINE# #INDENT# self . _guard |= TITLE_GUARD #NEWLINE# try : #NEWLINE# #INDENT# d . title = self #NEWLINE# #UNINDENT# finally : #NEWLINE# #INDENT# self . _guard &= ( ~ TITLE_GUARD )