[gnome-builder] html preview: fix Python coding style
- From: Sébastien Lafargue <slafargue src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] html preview: fix Python coding style
- Date: Wed, 15 Mar 2017 16:27:47 +0000 (UTC)
commit 86e6994d8d4450cfe675eb6ad94e483823719fd5
Author: Sebastien Lafargue <slafargue gnome org>
Date: Wed Mar 15 17:19:39 2017 +0100
html preview: fix Python coding style
.../html-preview/html_preview_plugin/__init__.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/html-preview/html_preview_plugin/__init__.py
b/plugins/html-preview/html_preview_plugin/__init__.py
index 480ac31..d41402c 100644
--- a/plugins/html-preview/html_preview_plugin/__init__.py
+++ b/plugins/html-preview/html_preview_plugin/__init__.py
@@ -49,6 +49,7 @@ except ImportError:
_ = Ide.gettext
+
class HtmlPreviewData(GObject.Object, Ide.ApplicationAddin):
MARKDOWN_CSS = None
MARKED_JS = None
@@ -137,6 +138,7 @@ class HtmlPreviewAddin(GObject.Object, Ide.EditorViewAddin):
can_preview_rst = True
self.workbench.pop_message('org.gnome.builder.docutils.install')
+
class HtmlPreviewView(Ide.LayoutView):
markdown = False
rst = False
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]