summaryrefslogtreecommitdiff
path: root/plugins/externaltools/tools
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-12-19 14:48:23 +0300
committermonsta <[email protected]>2016-12-19 16:36:16 +0300
commit6cb4912d8ca947bb0c99a3a6ed495cd40ff1662d (patch)
tree2d9ceb1f749f9f9d9e60fee46c5954cb9933bf9b /plugins/externaltools/tools
parente67af672bf71bba056340c35fcf390dae1556276 (diff)
downloadpluma-6cb4912d8ca947bb0c99a3a6ed495cd40ff1662d.tar.bz2
pluma-6cb4912d8ca947bb0c99a3a6ed495cd40ff1662d.tar.xz
externaltools plugin: fix indent a bit
Diffstat (limited to 'plugins/externaltools/tools')
-rwxr-xr-xplugins/externaltools/tools/manager.py14
1 files changed, 7 insertions, 7 deletions
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)