View Single Post
Old 04-08-2013, 08:23 AM   #14
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by kovidgoyal View Post
This button when clicked will popup a menu with the entries:
[code]
Create VL
Remove VL
Additional restriction ->
same as current restrict to popup
Can do this, but be aware that there is a fair amount of code that looks at the content of the current search_restrictions combo box. In particular, at least some of kiwidude's plugins do that, for example find duplicates. As there is no way that I can find to put a combobox into a menu, all that code will need to change to get the "additional restriction" in some other way.

The change can be fully compatible with existing code and plugins if the "virtual library" button is put on the tool bar (either a new button or an addition to the library button) instead of replacing the existing combo box, or if both the button and the combo box are on the main gui.
chaley is offline   Reply With Quote