Exemplo n.º 1
0
 def choose_open_with(self, book_id, fmt):
     from calibre.gui2.open_with import choose_program
     entry = choose_program(fmt, self)
     if entry is not None:
         self.open_with(book_id, fmt, entry)
Exemplo n.º 2
0
 def choose_open_with(self):
     from calibre.gui2.open_with import choose_program
     entry = choose_program('cover_image', self)
     if entry is not None:
         self.open_with(entry)
Exemplo n.º 3
0
 def choose_open_with(self, book_id, fmt):
     from calibre.gui2.open_with import choose_program
     entry = choose_program(fmt, self)
     if entry is not None:
         self.open_with(book_id, fmt, entry)
Exemplo n.º 4
0
 def choose_open_with(self):
     from calibre.gui2.open_with import choose_program
     entry = choose_program('cover_image', self)
     if entry is not None:
         self.open_with(entry)
Exemplo n.º 5
0
 def choose_open_with(self):
     from calibre.gui2.open_with import choose_program
     fmt = self._formats[self.formats.currentRow()]
     entry = choose_program(fmt, self)
     if entry is not None:
         self.open_with(entry)
Exemplo n.º 6
0
 def choose_open_with(self):
     from calibre.gui2.open_with import choose_program
     fmt = self._formats[self.formats.currentRow()]
     entry = choose_program(fmt, self)
     if entry is not None:
         self.open_with(entry)