From e71fe82b3b12b0fe1092e2a26f9ff8887c001ece Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Wed, 11 Jun 2008 18:31:42 +0200 Subject: [PATCH] when clicking on view-btn vim is loaded with GDBLoadConfig at beginning --- PositionFrame.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PositionFrame.py b/PositionFrame.py index 4403932..c3751fd 100644 --- a/PositionFrame.py +++ b/PositionFrame.py @@ -57,7 +57,7 @@ class PositionFrame (StatusFrame.StatusFrame): if self.file!=None: try: - cmd = 'gvim -R -c ":%d" %s' % (self.lineno, self.file) + cmd = 'gvim -c ":GDBLoadConfig" %s' % (self.file) os.system(cmd) except OSError: dialog = gtk.MessageDialog(None, \ -- 2.39.5