Skip to content

Commit

Permalink
Main: change bug report link
Browse files Browse the repository at this point in the history
This changes the link from the new issue page to the issue tracker. This
means that users can see if the issue has already been reported, and
won't be immediately sent to a sign in page if they aren't signed into
GitHub.
  • Loading branch information
ARAKHNID committed May 22, 2024
1 parent 13581ad commit 25e952b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class Application(Gtk.Application):

APP_ID = 'com.github.maoschanz.drawing'
APP_PATH = '/com/github/maoschanz/drawing'
BUG_REPORT_URL = 'https://github.com/maoschanz/drawing/issues/new/choose'
BUG_REPORT_URL = 'https://github.com/maoschanz/drawing/issues'
FLATPAK_BINARY_PATH = '/app/bin/drawing'
CURRENT_BINARY_PATH = ''

Expand Down Expand Up @@ -227,7 +227,7 @@ def on_new_window(self, *args):
return self.open_window_with_content(None)

def on_report(self, *args):
"""Action callback, opening a new issue on the github repo."""
"""Action callback, opening a page to the Github issue tracker."""
win = self.props.active_window
Gtk.show_uri_on_window(win, self.BUG_REPORT_URL, Gdk.CURRENT_TIME)

Expand Down

0 comments on commit 25e952b

Please sign in to comment.