]> rtime.felk.cvut.cz Git - CanFestival-3.git/commitdiff
Bug on CanOpen help popup corrected
authorlbessard <lbessard>
Thu, 5 Apr 2007 08:06:11 +0000 (08:06 +0000)
committerlbessard <lbessard>
Thu, 5 Apr 2007 08:06:11 +0000 (08:06 +0000)
objdictgen/objdictedit.py

index c0bf6b7110b76a6189e1e4d5b2aea48927f12c1e..8f8a3db8e57618bd3b279194b08418c41839d334 100755 (executable)
@@ -31,7 +31,7 @@ import wx.grid
 from types import *
 import os, re, platform, sys, time, traceback, getopt
 
-__version__ = "$Revision: 1.11 $"
+__version__ = "$Revision: 1.12 $"
 
 from nodemanager import *
 from node import OD_Subindex,OD_MultipleSubindexes,OD_IdenticalSubindexes,OD_IdenticalIndexes
@@ -1073,11 +1073,11 @@ class objdictedit(wx.Frame):
         event.Skip()
         
     def OnHelpCANFestivalMenu(self, event):
-        self.OpenHtmlFrame("CAN Festival Reference", "../doc/canfestival.html", wx.Size(1000, 600))
+        self.OpenHtmlFrame("CAN Festival Reference", os.path.join(WorkingDirectory, "../doc/canfestival.html"), wx.Size(1000, 600))
         event.Skip()
 
     def OnAboutMenu(self, event):
-        self.OpenHtmlFrame("About CAN Festival", "../doc/about.html", wx.Size(500, 450))
+        self.OpenHtmlFrame("About CAN Festival", os.path.join(WorkingDirectory, "../doc/about.html"), wx.Size(500, 450))
         event.Skip()
 
     def OpenHtmlFrame(self, title, file, size):