Pull from trunk

This commit is contained in:
Kovid Goyal 2010-08-13 19:34:05 -06:00
commit 290dd86177
4 changed files with 2894 additions and 2844 deletions

View File

@ -23,7 +23,7 @@
- title: "Allow editing of tweaks via Preferences->Advanced"
- title: "Add button to manage authors dialog to automatically reset all author sort values"
- title: "Add button to the manage authors dialog to automatically reset all author sort values"
bug fixes:
- title: "Fix regression in 0.7.13 that broke changing libraries"

View File

@ -5,7 +5,6 @@ __copyright__ = '2009-2010, Darko Miletic <darko.miletic at gmail.com>'
www.esquire.com
'''
from calibre import strftime
from calibre.web.feeds.news import BasicNewsRecipe
class Esquire(BasicNewsRecipe):

View File

@ -80,8 +80,10 @@ class ChooseLibrary(QDialog, Ui_Dialog):
return error_dialog(self, _('No location'), _('No location selected'),
show=True)
loc = os.path.abspath(text)
if not loc or not os.path.exists(loc) or not self.check_action(action,
loc):
if not loc or not os.path.exists(loc) or not os.path.isdir(loc):
return error_dialog(self, _('Bad location'),
_('%s is not an existing folder')%loc, show=True)
if not self.check_action(action, loc):
return
QDialog.accept(self)
self.location.save_history()

File diff suppressed because it is too large Load Diff