View Single Post
Old 04-18-2008, 02:20 PM   #200
astrodad
Guru
astrodad ought to be getting tired of karma fortunes by now.astrodad ought to be getting tired of karma fortunes by now.astrodad ought to be getting tired of karma fortunes by now.astrodad ought to be getting tired of karma fortunes by now.astrodad ought to be getting tired of karma fortunes by now.astrodad ought to be getting tired of karma fortunes by now.astrodad ought to be getting tired of karma fortunes by now.astrodad ought to be getting tired of karma fortunes by now.astrodad ought to be getting tired of karma fortunes by now.astrodad ought to be getting tired of karma fortunes by now.astrodad ought to be getting tired of karma fortunes by now.
 
astrodad's Avatar
 
Posts: 962
Karma: 568242
Join Date: Dec 2007
Device: Kindle Oasis 3, Kindle Paperwhite 1, iPad, iPhone
I've implemented the dialog to accept a standard set of default tags, but there are a couple of glitches. I've also added code to take the value from preferences when importing a new book.

1. I can't save the preference for some reason.
2. The tag editor expects a row index for the book being edited so it can preload the existing tags but obviously in this case there is no real 'book' since we're talking about the defaults. Do you think I should make a version of the TagEditor that doesn't need the row parameter and instead receives the existing string from the dialog?
3. Even though I specify the value when adding a book, they don't get stored. I'll have to play with it some more.

I'm having fun learning the Python code. The white space thing keeps getting me
astrodad is offline   Reply With Quote