From 6cb4912d8ca947bb0c99a3a6ed495cd40ff1662d Mon Sep 17 00:00:00 2001 From: monsta Date: Mon, 19 Dec 2016 14:48:23 +0300 Subject: externaltools plugin: fix indent a bit --- plugins/externaltools/tools/manager.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'plugins') diff --git a/plugins/externaltools/tools/manager.py b/plugins/externaltools/tools/manager.py index c0656cb8..24d7d71a 100755 --- a/plugins/externaltools/tools/manager.py +++ b/plugins/externaltools/tools/manager.py @@ -534,10 +534,10 @@ class Manager(GObject.Object): def clear_fields(self): self['accelerator'].set_text('') - buf = self['commands'].get_buffer() - buf.begin_not_undoable_action() - buf.set_text('') - buf.end_not_undoable_action() + buf = self['commands'].get_buffer() + buf.begin_not_undoable_action() + buf.set_text('') + buf.end_not_undoable_action() for nm in ('input', 'output', 'applicability', 'save-files'): self[nm].set_active(0) @@ -569,9 +569,9 @@ class Manager(GObject.Object): buf = self['commands'].get_buffer() script = default(''.join(node.get_script()), '') - buf.begin_not_undoable_action() - buf.set_text(script) - buf.end_not_undoable_action() + buf.begin_not_undoable_action() + buf.set_text(script) + buf.end_not_undoable_action() self.script_hash = self.compute_hash(script) contenttype, uncertain = Gio.content_type_guess(None, script) -- cgit v1.2.1