Skip to content

Commit

Permalink
Fixing url to manual in about window
Browse files Browse the repository at this point in the history
  • Loading branch information
mathijs-dumon committed Mar 7, 2020
1 parent 4fa1441 commit a897a81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,4 @@ pyxrd/temp.log
pyxrd/temp.tex
docs/server-client\ arch.svg

win_installer/_build_root/
2 changes: 1 addition & 1 deletion pyxrd/application/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def on_aboutbox_close(widget, event=None):
return True

self["about_window"].set_version(settings.VERSION)

self["about_window"].set_website("https://github.com/PyXRD/PyXRD/blob/v%s/Manual.pdf" % settings.VERSION);
pixbuf = GdkPixbuf.Pixbuf.new_from_file(resource_filename(__name__, "icons/pyxrd.png")) # @UndefinedVariable
scaled_buf = pixbuf.scale_simple(212, 160, GdkPixbuf.InterpType.BILINEAR) # @UndefinedVariable
self["about_window"].set_logo(scaled_buf)
Expand Down

0 comments on commit a897a81

Please sign in to comment.