Comment 2 for bug 1069077

Revision history for this message
Marten Gorodetsky (askmarten) wrote :

I noticed three more mistakes on the same tutorial page. I attached a new patch that fixes all five problems.

The three new mistakes I noticed are:

1) When the text entry is removed, the reader isn't told to remove the code in the on_mnu_new_activate handler which sets the text of the text entry.

2) To set the title of the window, the tutorial suggests to use the self.set_text method which does not exist. It should be self.set_title instead.

3) To make the files in the Open dialog react to double clicks, the tutorial suggests to connect the select-cursor-row signal. This signal doesn't handle double clicks, the row-activated signal should be used instead.