Skip to content

Commit 7c44592

Browse files
Fix offline change log (#2484)
1 parent 73a1af6 commit 7c44592

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
'robotide.preferences': ['settings.cfg'],
3636
'robotide.widgets': ['*.png', '*.gif', '*.ico'],
3737
'robotide.messages': ['*.html'],
38+
'robotide.application': ['*.html', '*.css'],
3839
'robotide.publish.htmlmessages': ['no_robot.html'],
3940
'robotide.postinstall': ['RIDE.app/Contents/PkgInfo', 'RIDE.app/Contents/Info.plist',
4041
'RIDE.app/Contents/MacOS/RIDE', 'RIDE.app/Contents/Resources/*.icns']

src/robotide/application/releasenotes.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
import wx
1818
from wx import Colour
1919
from wx.lib.ClickableHtmlWindow import PyClickableHtmlWindow
20+
from os.path import abspath, join, dirname
2021

2122
from ..action import ActionInfo
2223
from ..version import VERSION
@@ -65,7 +66,7 @@ def show_changelog(self, event=None):
6566
if not self._dialog:
6667
self._dialog = HtmlDialog('Offline Change Log', 'Check the online version at https://github.com/robotframework/RIDE/blob/master/CHANGELOG.adoc')
6768
self._dialog.SetSize(800, 800)
68-
self._dialog.html_wnd.LoadFile(os.path.abspath("application/CHANGELOG.html"))
69+
self._dialog.html_wnd.LoadFile(join(dirname(abspath(__file__)), "CHANGELOG.html"))
6970
self._dialog.html_wnd.SetBackgroundColour(self.general_settings['background help'])
7071
self._dialog.html_wnd.SetForegroundColour(self.general_settings['foreground text'])
7172
self._dialog.Show()

0 commit comments

Comments
 (0)