From 619e9a826120c2bdf169fec5351c270378bd0c33 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 5 Feb 2009 10:24:15 -0800 Subject: [PATCH] IGN:Update donations buttons to use kovidgoyal.net email address --- src/calibre/gui2/main.py | 8 ++++---- src/calibre/library/database2.py | 1 + src/calibre/trac/plugins/templates/binary.html | 13 ++++++------- src/calibre/trac/plugins/templates/distro.html | 10 +++++----- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/calibre/gui2/main.py b/src/calibre/gui2/main.py index 4f73e685a2..babce06044 100644 --- a/src/calibre/gui2/main.py +++ b/src/calibre/gui2/main.py @@ -1426,10 +1426,10 @@ class Main(MainWindow, Ui_MainWindow): def donate(self, *args): BUTTON = '''
- - - - + + + +
''' MSG = _('is the result of the efforts of many volunteers from all over the world. If you find it useful, please consider donating to support its development.') diff --git a/src/calibre/library/database2.py b/src/calibre/library/database2.py index 76f244a456..5f29c34bcb 100644 --- a/src/calibre/library/database2.py +++ b/src/calibre/library/database2.py @@ -355,6 +355,7 @@ class LibraryDatabase2(LibraryDatabase): if isinstance(self.dbpath, unicode): self.dbpath = self.dbpath.encode(filesystem_encoding) self.connect() + self.is_case_sensitive = not os.path.exists(self.dbpath.replace('metadata.db', 'MeTAdAtA.dB')) # Upgrade database while True: meth = getattr(self, 'upgrade_version_%d'%self.user_version, None) diff --git a/src/calibre/trac/plugins/templates/binary.html b/src/calibre/trac/plugins/templates/binary.html index cd67bf41f2..7361e37014 100644 --- a/src/calibre/trac/plugins/templates/binary.html +++ b/src/calibre/trac/plugins/templates/binary.html @@ -23,15 +23,14 @@ While you wait for the download to complete, please consider donating to support the development of ${app}.
-
+ - + + - -
- -
-
+ +
+

Note

$note
diff --git a/src/calibre/trac/plugins/templates/distro.html b/src/calibre/trac/plugins/templates/distro.html index 09856c35be..e735c6f4ad 100644 --- a/src/calibre/trac/plugins/templates/distro.html +++ b/src/calibre/trac/plugins/templates/distro.html @@ -57,11 +57,11 @@ python setup.py build && sudo python setup.py install While you wait for the installation to complete, please consider donating to support the development of ${distro.app}.
- - - - -
+ + + + +