Changelog should be displayed properly when opened from the help menu. Fixes #21

This commit is contained in:
Manuel Cortez 2019-02-01 11:03:26 -06:00
parent f623e78bdc
commit 3a3623859b
2 changed files with 4 additions and 2 deletions

View File

@ -23,6 +23,7 @@
* Fixed errors when moving songs to albums. Now everything works as expected.
* Added documents to the list of supported files when adding attachments to a wall post or private message.
* It is possible to enable or disable proxy from the preferences dialog. The application must be restarted for this change to take effect.
* Fixed an error that was making Socializer unable to display the changelog properly, when opened from the help menu. ([#21](https://code.manuelcortez.net/manuelcortez/socializer/issues/21))
* Added improvements to groups:
* It is possible to load topics, audios and videos for a group. In order to do so, you need to go to the group buffer and press the menu key, or right mouse click, in the tree item representing the group. New buffers will be created inside the current group's buffer.
* You can create or delete all buffers for groups by pressing the menu key or right mouse click in the "communities" buffer.

View File

@ -361,9 +361,10 @@ class Controller(object):
del buffer
def changelog(self, *args, **kwargs):
os.chdir("documentation")
lang = localization.get("documentation")
os.chdir("documentation/%s" % (lang,))
webbrowser.open("changelog.html")
os.chdir("../")
os.chdir("../../")
def configuration(self, *args, **kwargs):
""" Opens the global settings dialogue."""