X-Git-Url: https://git.sthu.org/?p=pygdb.git;a=blobdiff_plain;f=StatusWindow.py;h=f03c11c27d579173db6641aa42d5394b842d9e52;hp=99382ff1d684c9caaa80aa99992398619e3138f4;hb=127bb50e7d884d3a413ab4b3b429e89b5dfebf74;hpb=6e96e757d011b60496311171a18983c5c7407399 diff --git a/StatusWindow.py b/StatusWindow.py index 99382ff..f03c11c 100644 --- a/StatusWindow.py +++ b/StatusWindow.py @@ -20,9 +20,10 @@ import WatchesFrame class StatusWindow (gtk.Window): - def __init__(self, debugger): + def __init__(self, debugger, vimservername): gtk.Window.__init__(self) + self.vimservername = vimservername self.debugger = debugger self.debugger.gotActiveCallback += [self.updateValues] @@ -101,7 +102,12 @@ class StatusWindow (gtk.Window): self.fillConfiguration(conf) conf.store(".pygdb.conf") - DbgTerminal.updateVim() + self.updateVim() + def updateVim(self): + + os.system('gvim --servername %s --remote-send " :GDBLoadConfig"' % \ + self.vimservername) +