[gnome-builder/wip/gtk4-port] libide/editor: wire-up show-line-numbers
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port] libide/editor: wire-up show-line-numbers
- Date: Tue, 12 Apr 2022 03:37:58 +0000 (UTC)
commit db6c6164bed0663b6172cfd32b2875a2c8a589be
Author: Christian Hergert <chergert redhat com>
Date: Mon Apr 11 20:37:53 2022 -0700
libide/editor: wire-up show-line-numbers
src/libide/editor/ide-editor-page-settings.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/libide/editor/ide-editor-page-settings.c b/src/libide/editor/ide-editor-page-settings.c
index 354c056d6..37ea57af7 100644
--- a/src/libide/editor/ide-editor-page-settings.c
+++ b/src/libide/editor/ide-editor-page-settings.c
@@ -139,6 +139,9 @@ _ide_editor_page_settings_init (IdeEditorPage *self)
"tab-width", self->view, "tab-width",
G_BINDING_SYNC_CREATE);
+ g_settings_bind (editor_settings, "show-line-numbers",
+ self->view, "show-line-numbers",
+ G_SETTINGS_BIND_GET);
g_settings_bind (editor_settings, "show-map",
self->map_revealer, "reveal-child",
G_SETTINGS_BIND_GET);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]