Example #1
0
 def choose_icon_theme(self):
     from calibre.gui2.icon_theme import ChooseTheme
     d = ChooseTheme(self)
     if d.exec_() == d.Accepted:
         self.commit_icon_theme = d.commit_changes
         self.icon_theme_title = d.new_theme_title or _('Default icons')
         self.icon_theme.setText(_('Icon theme: <b>%s</b>') % self.icon_theme_title)
         self.changed_signal.emit()
Example #2
0
 def choose_icon_theme(self):
     from calibre.gui2.icon_theme import ChooseTheme
     d = ChooseTheme(self)
     if d.exec_() == d.Accepted:
         self.commit_icon_theme = d.commit_changes
         self.icon_theme_title = d.new_theme_title or _('Default icons')
         self.icon_theme.setText(_('Icon theme: <b>%s</b>') % self.icon_theme_title)
         self.changed_signal.emit()