Merge branch 'master' of git://github.com/scout/ankiqt

This commit is contained in:
Damien Elmes 2009-06-09 04:10:35 +09:00
commit ea259d0815
2 changed files with 5 additions and 0 deletions

3
ankiqt/ui/main.py Normal file → Executable file
View file

@ -1135,6 +1135,9 @@ your deck."""))
moreButton = QComboBox() moreButton = QComboBox()
if sys.platform.startswith("darwin"): if sys.platform.startswith("darwin"):
moreButton.setFixedWidth(80) moreButton.setFixedWidth(80)
if sys.platform.startswith("win32") and \
self.config['alternativeTheme']:
moreButton.setFixedHeight(24)
moreButton.addItems(QStringList([ moreButton.addItems(QStringList([
_("More"), _("More"),
_("Forget"), _("Forget"),

2
ankiqt/ui/sync.py Normal file → Executable file
View file

@ -126,6 +126,8 @@ class Sync(QThread):
else: else:
self.setStatus(_("Downloading..."), 0) self.setStatus(_("Downloading..."), 0)
client.fullSyncFromServer(ret[1], ret[2]) client.fullSyncFromServer(ret[1], ret[2])
if client.mediaSupported():
self.doBulkDownload(proxy.deckName)
self.setStatus(_("Sync complete."), 0) self.setStatus(_("Sync complete."), 0)
else: else:
# diff # diff