[gedit-plugins] commander: make goto actually work



commit 2966738ab7d29eb33e325492e632ef3be8abb30a
Author: Christopher Aillon <caillon redhat com>
Date:   Sat Apr 9 22:45:09 2011 -0700

    commander: make goto actually work
    
    pass the correct number of arguments to scroll_to_iter
    
    https://bugzilla.gnome.org/show_bug.cgi?id=647342

 plugins/commander/modules/goto.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/commander/modules/goto.py b/plugins/commander/modules/goto.py
index 26d79bd..2270d83 100644
--- a/plugins/commander/modules/goto.py
+++ b/plugins/commander/modules/goto.py
@@ -56,7 +56,7 @@ def __default__(view, line, column=1):
     citer.forward_chars(column)
 
     buf.place_cursor(citer)
-    view.scroll_to_iter(citer, 0.0, True)
+    view.scroll_to_iter(citer, 0.0, True, 0, 0.5)
 
     return commander.commands.result.HIDE
 



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