From 7b214efd3de8f7eadda1284a525727f17ceaaeca Mon Sep 17 00:00:00 2001 From: cxl Date: Sun, 8 Feb 2015 12:08:40 +0000 Subject: [PATCH] ide: Help links items #963 git-svn-id: svn://ultimatepp.org/upp/trunk@8151 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/ide/idebar.cpp | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/uppsrc/ide/idebar.cpp b/uppsrc/ide/idebar.cpp index 601e3ccf8..f86ae35d2 100644 --- a/uppsrc/ide/idebar.cpp +++ b/uppsrc/ide/idebar.cpp @@ -588,16 +588,14 @@ void Ide::BrowseMenu(Bar& menu) void Ide::HelpMenu(Bar& menu) { - menu.AddMenu("Get help / report bugs..", IdeImg::Go_forward(), callback1(LaunchWebBrowser, "http://www.ultimatepp.org/forums")); - menu.AddMenu("Online documentation..", IdeImg::Go_forward(), callback1(LaunchWebBrowser, "http://www.ultimatepp.org/www$uppweb$documentation$en-us.html")); - menu.AddMenu("Common information..", IdeImg::Go_forward(), callback1(LaunchWebBrowser, "http://www.ultimatepp.org/www$uppweb$community$en-us.html")); - if(menu.IsMenuBar()) - menu.Separator(); menu.Add(AK_BROWSETOPICS, IdeImg::help(), THISBACK(ShowTopics)); menu.Add(AK_SEARCHTOPICS, THISBACK(SearchTopics)); menu.Add(AK_BROWSETOPICS_WIN, IdeImg::help_win(), THISBACK(ShowTopicsWin)); - if(menu.IsMenuBar()) - menu.Separator(); + menu.MenuSeparator(); + menu.AddMenu("Get help / report bugs..", IdeImg::Go_forward(), callback1(LaunchWebBrowser, "http://www.ultimatepp.org/forums")); + menu.AddMenu("Online documentation..", IdeImg::Go_forward(), callback1(LaunchWebBrowser, "http://www.ultimatepp.org/www$uppweb$documentation$en-us.html")); + menu.AddMenu("Common information..", IdeImg::Go_forward(), callback1(LaunchWebBrowser, "http://www.ultimatepp.org/www$uppweb$community$en-us.html")); + menu.MenuSeparator(); menu.Add("About..", THISBACK(About)); }