[gnome-builder/wip/gtk4-port: 677/1774] plugins/html-preview: fix column usage
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 677/1774] plugins/html-preview: fix column usage
- Date: Mon, 11 Jul 2022 22:31:20 +0000 (UTC)
commit 0fe8e312a4eeaecefe040d51706b0f305aea64e6
Author: Christian Hergert <chergert redhat com>
Date: Wed Apr 20 17:10:37 2022 -0700
plugins/html-preview: fix column usage
src/plugins/html-preview/html_preview.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/html-preview/html_preview.py b/src/plugins/html-preview/html_preview.py
index ba9a1cc95..20fff1835 100644
--- a/src/plugins/html-preview/html_preview.py
+++ b/src/plugins/html-preview/html_preview.py
@@ -288,7 +288,7 @@ class HtmlPreviewAddin(GObject.Object, Ide.EditorPageAddin):
visible=True)
position = view.get_position()
- _, column = view.get_column()
+ _, column = position.get_column()
position.set_column(column + 1)
workspace = view.get_ancestor(Ide.Workspace)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]