projects
/
pygdb.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3c94180
)
when clicking on view-btn vim is loaded with GDBLoadConfig at beginning
author
Stefan Huber <shuber2@gmail.com>
Wed, 11 Jun 2008 16:31:42 +0000
(18:31 +0200)
committer
Stefan Huber <shuber2@gmail.com>
Wed, 11 Jun 2008 16:31:42 +0000
(18:31 +0200)
PositionFrame.py
patch
|
blob
|
history
diff --git
a/PositionFrame.py
b/PositionFrame.py
index 4403932e3fc7c950d4fe31d00d99cf2b23fe17a3..c3751fd7bc688d74da43d0f542c6d9844326cc8f 100644
(file)
--- a/
PositionFrame.py
+++ b/
PositionFrame.py
@@
-57,7
+57,7
@@
class PositionFrame (StatusFrame.StatusFrame):
if self.file!=None:
try:
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, \
os.system(cmd)
except OSError:
dialog = gtk.MessageDialog(None, \