diff --git a/oml/ui.py b/oml/ui.py index 683fddd..f9970bf 100644 --- a/oml/ui.py +++ b/oml/ui.py @@ -38,6 +38,8 @@ class GtkUI: if DEBUG: print('Closed, no files selected') filename = None + else: + filename = None dialog.destroy() while Gtk.events_pending(): Gtk.main_iteration() @@ -61,6 +63,8 @@ class GtkUI: if DEBUG: print('Closed, no files selected') filename = None + else: + filename = None dialog.destroy() while Gtk.events_pending(): Gtk.main_iteration() diff --git a/static/html/epub.html b/static/html/epub.html index 1793dc7..d0f2838 100644 --- a/static/html/epub.html +++ b/static/html/epub.html @@ -8,10 +8,10 @@ - - - - + + + + - - - + + + - + - + diff --git a/static/html/pdf.html b/static/html/pdf.html index 2fa74ea..36e1a60 100644 --- a/static/html/pdf.html +++ b/static/html/pdf.html @@ -20,7 +20,7 @@ Adobe CMap resources are covered by their own copyright but the same license: See https://github.com/adobe-type-tools/cmap-resources --> - + @@ -29,7 +29,7 @@ See https://github.com/adobe-type-tools/cmap-resources - + @@ -39,23 +39,16 @@ See https://github.com/adobe-type-tools/cmap-resources } - - + + + + + + - - - - - - - - - - - + + @@ -64,13 +57,13 @@ See https://github.com/adobe-type-tools/cmap-resources
- - -
@@ -83,27 +76,39 @@ See https://github.com/adobe-type-tools/cmap-resources
+
-
- -