Author: agomes
Date: Mon Nov 20 21:18:39 2017
New Revision: 1815859

URL: http://svn.apache.org/viewvc?rev=1815859&view=rev
Log:
[Bug 61775] Add a link to help menu to download nighty builds (it open the 
browser with the correct link) - Felix remarks

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/gui/util/JMeterMenuBar.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/gui/util/JMeterMenuBar.java
URL: 
http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/gui/util/JMeterMenuBar.java?rev=1815859&r1=1815858&r2=1815859&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/gui/util/JMeterMenuBar.java 
(original)
+++ jmeter/trunk/src/core/org/apache/jmeter/gui/util/JMeterMenuBar.java Mon Nov 
20 21:18:39 2017
@@ -303,17 +303,10 @@ public class JMeterMenuBar extends JMenu
         JMenuItem threadDump = makeMenuItemRes("thread_dump", 
ActionNames.THREAD_DUMP);//$NON-NLS-1$
         
         JMenu usefulLinks = makeMenuRes("useful_links");//$NON-NLS-1$
-        JMenuItem menuItem;
-        menuItem = new 
JMenuItem(JMeterUtils.getLocaleString("link_bug_tracker"));
-        menuItem.addActionListener(ActionRouter.getInstance());
-        menuItem.setActionCommand(ActionNames.LINK_BUG_TRACKER);
-        menuItem.setName("link_bug_tracker");
-        usefulLinks.add(menuItem);
-        menuItem = new 
JMenuItem(JMeterUtils.getLocaleString("link_nightly_build"));
-        menuItem.addActionListener(ActionRouter.getInstance());
-        menuItem.setActionCommand(ActionNames.LINK_NIGHTLY_BUILD);
-        menuItem.setName("link_nightly_build");
-        usefulLinks.add(menuItem);
+        JMenuItem subMenuLinkBugTraker = makeMenuItemRes("link_bug_tracker", 
ActionNames.LINK_BUG_TRACKER);//$NON-NLS-1$
+        usefulLinks.add(subMenuLinkBugTraker);
+        JMenuItem subMenuLinkNightlyBuild = 
makeMenuItemRes("link_nightly_build", 
ActionNames.LINK_NIGHTLY_BUILD);//$NON-NLS-1$
+        usefulLinks.add(subMenuLinkNightlyBuild);
 
         helpAbout = makeMenuItemRes("about", 'A', ActionNames.ABOUT); 
//$NON-NLS-1$
 


Reply via email to