View Single Post
Old 08-04-2011, 03:36 AM   #192
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,733
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
@Bertrand - good suggestion on asking the user. I guess the same can apply for 3 as well. Case 3 is where you do not have the book on any lists already, but you go ahead and right-click on one to try to "move" it to a list. I could just disable the menui item in this case, or I could prompt asking if you want to cancel or go ahead and just add to the target list.

@beckywc - the problem is that the plugin will not know without guidance which list you are wanting to move the book from - since the menu is only specifying a target. I don't want to turn this into a monstrously complex thing for people to use. I think prompting will be the way to go - if it finds that you have two source lists, it displays both for you to choose from (like the User Category plugin).
kiwidude is offline   Reply With Quote