mirror of
				https://github.com/kovidgoyal/calibre.git
				synced 2025-11-04 03:27:00 -05:00 
			
		
		
		
	...
This commit is contained in:
		
						commit
						864edcf610
					
				@ -1421,7 +1421,7 @@ plugins += [
 | 
			
		||||
    StorePragmaticBookshelfStore,
 | 
			
		||||
    StoreSmashwordsStore,
 | 
			
		||||
    StoreVirtualoStore,
 | 
			
		||||
    StoreWaterstonesUKStore,
 | 
			
		||||
    #StoreWaterstonesUKStore,
 | 
			
		||||
    StoreWeightlessBooksStore,
 | 
			
		||||
    StoreWizardsTowerBooksStore,
 | 
			
		||||
    StoreWoblinkStore
 | 
			
		||||
 | 
			
		||||
@ -25,12 +25,11 @@ class VirtualoStore(BasicStoreConfig, StorePlugin):
 | 
			
		||||
 | 
			
		||||
    def open(self, parent=None, detail_item=None, external=False):
 | 
			
		||||
        url = 'http://virtualo.pl/ebook/c2/'
 | 
			
		||||
        detail_url = None
 | 
			
		||||
 | 
			
		||||
        if external or self.config.get('open_external', False):
 | 
			
		||||
            open_url(QUrl(url_slash_cleaner(detail_item if detail_item else url)))
 | 
			
		||||
        else:
 | 
			
		||||
            d = WebStoreDialog(self.gui, url, parent, detail_url)
 | 
			
		||||
            d = WebStoreDialog(self.gui, url, parent, detail_item)
 | 
			
		||||
            d.setWindowTitle(self.name)
 | 
			
		||||
            d.set_tags(self.config.get('tags', ''))
 | 
			
		||||
            d.exec_()
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user