Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I think there is an error in the Quickly tutorial. In the User Dialog section, the tutorial instructs users to enter: title = saver.title_text in the save dialog method. This gives some error which is fixed by using: title = save.title_text()

share|improve this question
    
bugs.launchpad.net/quickly/+filebug –  RobinJ Jun 24 '12 at 13:33
    
@RobinJ Actually, it's better to report bugs with ubuntu-bug, which includes important technical information automatically (pertaining to version, Ubuntu release, and app configuration). See the bug reporting documentation for details. Furthermore, when reporting bugs, it's advisable to search first to see if it's already been reported, rather than starting out by filling out a new report. –  Eliah Kagan Jun 30 '12 at 12:39
    
Thanks RobinJ. I will do that next time. –  user72943 Jul 2 '12 at 1:05

1 Answer 1

This is not an error, you just need to add @property to the line above the title_txt method. So, your code should look like this:

@property
def title_text(self):
    return self.ui.entry1.get_text()

This should be placed in the SaveDialog class in the SaveDialog.py file. You can find out about @property and its usage here.

share|improve this answer
    
Thanks, my bad. –  user72943 Jun 25 '12 at 15:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.