[gedit-plugins] [Commander] Specify all arguments for load_locations in edit module



commit 8e2d836fa3c72e2650799f22681bcf515391ed60
Author: Jesse van den Kieboom <jesse vandenkieboom epfl ch>
Date:   Sat Feb 4 12:04:33 2012 +0100

    [Commander] Specify all arguments for load_locations in edit module

 plugins/commander/modules/edit.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plugins/commander/modules/edit.py b/plugins/commander/modules/edit.py
index 8b3e41b..ee42d60 100644
--- a/plugins/commander/modules/edit.py
+++ b/plugins/commander/modules/edit.py
@@ -60,7 +60,7 @@ def __default__(filename, view):
 
     if files:
         window = view.get_toplevel()
-        Gedit.commands_load_locations(window, files)
+        Gedit.commands_load_locations(window, files, None, 0, 0)
 
     return commander.commands.result.HIDE
 
@@ -138,7 +138,7 @@ def _edit_command(view, mod, func=None):
         return False
 
     if not func:
-        Gedit.commands_load_location(view.get_toplevel(), location)
+        Gedit.commands_load_location(view.get_toplevel(), location, None, 0, 0)
     else:
         try:
             lines = inspect.getsourcelines(func)
@@ -146,7 +146,7 @@ def _edit_command(view, mod, func=None):
         except:
             line = 0
 
-        Gedit.commands_load_location(view.get_toplevel(), location, None, line)
+        Gedit.commands_load_location(view.get_toplevel(), location, None, line, 0)
 
     return True
 



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