[gnome-builder/wip/language-settings] prefs: remove indent-on-tab settings



commit d25912d96c45a1e73441c894ee118a3757d04333
Author: Christian Hergert <christian hergert me>
Date:   Tue Oct 14 18:28:00 2014 -0700

    prefs: remove indent-on-tab settings

 src/editor/gb-editor-settings-widget.c |    5 -----
 src/editor/gb-editor-settings.c        |    1 -
 2 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/editor/gb-editor-settings-widget.c b/src/editor/gb-editor-settings-widget.c
index b892804..731ae30 100644
--- a/src/editor/gb-editor-settings-widget.c
+++ b/src/editor/gb-editor-settings-widget.c
@@ -28,7 +28,6 @@ struct _GbEditorSettingsWidgetPrivate
   GtkCheckButton *auto_indent;
   GtkCheckButton *highlight_current_line;
   GtkCheckButton *highlight_matching_brackets;
-  GtkCheckButton *indent_on_tab;
   GtkCheckButton *insert_spaces_instead_of_tabs;
   GtkCheckButton *show_line_marks;
   GtkCheckButton *show_line_numbers;
@@ -78,9 +77,6 @@ gb_editor_settings_widget_set_settings (GbEditorSettingsWidget *widget,
   g_object_bind_property (settings, "highlight-matching-brackets",
                           priv->highlight_matching_brackets, "active",
                           G_BINDING_SYNC_CREATE);
-  g_object_bind_property (settings, "indent-on-tab",
-                          priv->indent_on_tab, "active",
-                          G_BINDING_SYNC_CREATE);
   g_object_bind_property (settings, "insert-spaces-instead-of-tabs",
                           priv->insert_spaces_instead_of_tabs, "active",
                           G_BINDING_SYNC_CREATE);
@@ -168,7 +164,6 @@ gb_editor_settings_widget_class_init (GbEditorSettingsWidgetClass *klass)
   gtk_widget_class_bind_template_child_private (widget_class, GbEditorSettingsWidget, auto_indent);
   gtk_widget_class_bind_template_child_private (widget_class, GbEditorSettingsWidget, 
highlight_current_line);
   gtk_widget_class_bind_template_child_private (widget_class, GbEditorSettingsWidget, 
highlight_matching_brackets);
-  gtk_widget_class_bind_template_child_private (widget_class, GbEditorSettingsWidget, indent_on_tab);
   gtk_widget_class_bind_template_child_private (widget_class, GbEditorSettingsWidget, 
insert_spaces_instead_of_tabs);
   gtk_widget_class_bind_template_child_private (widget_class, GbEditorSettingsWidget, right_margin_position);
   gtk_widget_class_bind_template_child_private (widget_class, GbEditorSettingsWidget, show_line_marks);
diff --git a/src/editor/gb-editor-settings.c b/src/editor/gb-editor-settings.c
index 6decee0..b4ad78b 100644
--- a/src/editor/gb-editor-settings.c
+++ b/src/editor/gb-editor-settings.c
@@ -57,7 +57,6 @@ enum {
   PROP_FONT_DESC,
   PROP_HIGHLIGHT_CURRENT_LINE,
   PROP_HIGHLIGHT_MATCHING_BRACKETS,
-  PROP_INDENT_ON_TAB,
   PROP_INSERT_SPACES_INSTEAD_OF_TABS,
   PROP_RIGHT_MARGIN_POSITION,
   PROP_SHOW_LINE_MARKS,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]