[library-web] mallard: reset 'single html file' attribute (GNOME bug 670441)
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [library-web] mallard: reset 'single html file' attribute (GNOME bug 670441)
- Date: Sun, 12 Aug 2012 13:17:32 +0000 (UTC)
commit 50be01c878266162902d01768111ff861b9b92d0
Author: FrÃdÃric PÃters <fpeters 0d be>
Date: Sun Aug 12 15:16:43 2012 +0200
mallard: reset 'single html file' attribute (GNOME bug 670441)
src/modtypes/mallard.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/modtypes/mallard.py b/src/modtypes/mallard.py
index 4ddf050..abef55b 100644
--- a/src/modtypes/mallard.py
+++ b/src/modtypes/mallard.py
@@ -248,6 +248,10 @@ class MallardModule(DocModule):
if not doc:
return
+ # reset single page alternative mode, as it's not supported for mallard
+ # documents
+ doc.single_page_alternative = False
+
if self.category:
doc.category = self.category
doc.toc_id = app.toc_mapping.get(doc.category)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]