[meld] sourceview: Fix GtkSourceView tab width property binding (bgo#738001)
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] sourceview: Fix GtkSourceView tab width property binding (bgo#738001)
- Date: Mon, 27 Oct 2014 20:49:41 +0000 (UTC)
commit 089b74f6d1eb86fa8f27102bf3cf9f76d2e5c809
Author: Kai Willadsen <kai willadsen gmail com>
Date: Tue Oct 28 06:42:02 2014 +1000
sourceview: Fix GtkSourceView tab width property binding (bgo#738001)
The tab-width and indent-width properties interact weirdly if they're
different. This was a breakage in the GtkSourceView 3 migration, so
just switch the binding back over here.
This might cause some pain in the future if we want to support setting
both for some reason, but I don't actually know why we'd want to do
that.
meld/sourceview.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meld/sourceview.py b/meld/sourceview.py
index 48aa9a2..a0c9e4f 100644
--- a/meld/sourceview.py
+++ b/meld/sourceview.py
@@ -49,7 +49,7 @@ class MeldSourceView(GtkSource.View):
__gtype_name__ = "MeldSourceView"
__gsettings_bindings__ = (
- ('indent-width', 'indent-width'),
+ ('indent-width', 'tab-width'),
('insert-spaces-instead-of-tabs', 'insert-spaces-instead-of-tabs'),
('show-line-numbers', 'show-line-numbers'),
('draw-spaces', 'draw-spaces'),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]