Skip to content

Commit

Permalink
Adding release notes menu item.
Browse files Browse the repository at this point in the history
  • Loading branch information
thommcgrath committed Jun 27, 2017
1 parent b8e90f7 commit 8503434
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Project/App.xojo_code
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ Inherits Application
Self.mMutex = Lock
End If

#if TargetMacOS
UntitledSeparator6.Visible = False
#endif

LocalData.Start

Dim IdentityFile As FolderItem = Self.ApplicationSupport.Child("Default" + BeaconFileTypes.BeaconIdentity.PrimaryExtension)
Expand Down Expand Up @@ -264,6 +268,14 @@ Inherits Application
End Function
#tag EndMenuHandler

#tag MenuHandler
Function HelpReleaseNotes() As Boolean Handles HelpReleaseNotes.Action
ShowURL(Beacon.WebURL("/history.php#build" + Self.NonReleaseVersion.ToText(Xojo.Core.Locale.Raw, "0")))
Return True

End Function
#tag EndMenuHandler

#tag MenuHandler
Function HelpReportAProblem() As Boolean Handles HelpReportAProblem.Action
Beacon.ReportAProblem()
Expand Down
21 changes: 21 additions & 0 deletions Project/MainMenuBar.xojo_menu
Original file line number Diff line number Diff line change
Expand Up @@ -340,13 +340,34 @@ Begin Menu MainMenuBar
AutoEnable = True
Visible = True
End
Begin ApplicationMenuItem UntitledSeparator5
SpecialMenu = 0
Text = "-"
Index = -2147483648
AutoEnable = True
Visible = True
End
Begin ApplicationMenuItem HelpCheckforUpdates
SpecialMenu = 0
Text = "Check for Updates…"
Index = -2147483648
AutoEnable = True
Visible = True
End
Begin ApplicationMenuItem HelpReleaseNotes
SpecialMenu = 0
Text = "Release Notes…"
Index = -2147483648
AutoEnable = True
Visible = True
End
Begin MenuItem UntitledSeparator6
SpecialMenu = 0
Text = "-"
Index = -2147483648
AutoEnable = True
Visible = True
End
Begin MenuItem HelpAdminSpawnCodes
SpecialMenu = 0
Text = "Admin Spawn Codes"
Expand Down

0 comments on commit 8503434

Please sign in to comment.