How do I add Contents to the top of the help menu

Asked by Tony Byrne on 2010-10-18

I'm trying to add a Contents item to the Help menu but it appears at the bottom of the list. How do I get to appear at the top? How do I add F1 key accelerator key to this menu item ?

Question information

English Edit question
Quickly Edit question
No assignee Edit question
Solved by:
Tony Byrne
Last query:
Last reply:

- Please click on the menu bar first in glade
- Then Right click and select edit
- You will see two tabs ( General / Hierachy ) select hierachy
- On the left in a treeview you will see your menu items
- Click help item
- Right click then choose add normal child item
- Now click the item you just added and change the label on the right pane to content
- Click and DRAG it to where you want - done !

How do I add F1 key accelerator key to this menu item ?

In the MAIN glade design window click the content menu item
- in the lower right you get four tab views ( General/Packing/Common/Signals)
- Click COMMON tab
- scroll down and click the small button with three dots next to where it says accerlerators
- in the pop-up click Gtk-Menuitem->activate
- Click where it says choose a key
- Now press F1 - Done !

Tony Byrne (tony-badwolf) said : #2

Thanks Aruna

 There was one more step needed. In the file bin/project_name, line # 89
LaunchpadIntegration.add_items(helpmenu, 0, False, True)
I needed to change the 0 to a 1 to move the 3 launchpad items below the Contents