From b9c765e7b952a1d631b7970694fb81c7519700c0 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 7 Jan 2009 12:48:58 +0900 Subject: [PATCH] run deck closed hook in libanki, fix mac build scripts --- ankiqt/ui/main.py | 1 - mac/make.sh | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ankiqt/ui/main.py b/ankiqt/ui/main.py index 0e5ff03e0..5de166ce4 100644 --- a/ankiqt/ui/main.py +++ b/ankiqt/ui/main.py @@ -702,7 +702,6 @@ To upgrade an old deck, download Anki 0.9.8.7.""")) self.deck.rollback() self.deck.close() self.deck = None - runHook("deckClosed") if not hideWelcome: self.moveToState("noDeck") else: diff --git a/mac/make.sh b/mac/make.sh index a1a4c0cc1..59f467ea6 100755 --- a/mac/make.sh +++ b/mac/make.sh @@ -13,5 +13,5 @@ cp -Rvf /usr/local/share/kakasi/itaijidict kakasi echo "adding image formats..." cp -Rvf imageformats ankiqt echo "building..." -PYTHONPATH=ankiqt python ankiqt/mac/setup.py bdist_dmg +PYTHONPATH=ankiqt:libanki python ankiqt/mac/setup.py bdist_dmg