Commit a07930b02a28bc894fb2e1a0d2d8a2921971c960

Authored by Perry Werneck
1 parent 7c2d45ba

Adding view submenu on the application menu.

Showing 1 changed file with 37 additions and 14 deletions   Show diff stats
ui/application.xml
... ... @@ -30,20 +30,43 @@
30 30 <interface>
31 31 <requires lib="gtk+" version="3.0"/>
32 32 <menu id="app-menu">
33   - <section>
34   - <item>
35   - <attribute name="label" translatable="yes">About PW3270</attribute>
36   - <attribute name="action">app.about</attribute>
37   - </item>
38   - <item>
39   - <attribute name="label" translatable="yes">New Window</attribute>
40   - <attribute name="action">app.new.window</attribute>
41   - </item>
42   - <item>
43   - <attribute name="label" translatable="yes">Quit</attribute>
44   - <attribute name="action">app.quit</attribute>
45   - </item>
46   - </section>
  33 +
  34 + <item>
  35 + <attribute name="label" translatable="yes">About PW3270</attribute>
  36 + <attribute name="action">app.about</attribute>
  37 + </item>
  38 +
  39 + <item>
  40 + <attribute name="label" translatable="yes">New Window</attribute>
  41 + <attribute name="action">app.new.window</attribute>
  42 + </item>
  43 +
  44 + <submenu>
  45 +
  46 + <attribute name='label' translatable='yes'>_View</attribute>
  47 +
  48 + <item>
  49 + <attribute name="label" translatable="yes">Trace</attribute>
  50 + <attribute name="action">win.trace</attribute>
  51 + </item>
  52 +
  53 + <item>
  54 + <attribute name="label" translatable="yes">Toolbar</attribute>
  55 + <attribute name="action">win.toolbar</attribute>
  56 + </item>
  57 +
  58 + <item>
  59 + <attribute name="label" translatable="yes">Menu</attribute>
  60 + <attribute name="action">win.menubar</attribute>
  61 + </item>
  62 +
  63 + </submenu>
  64 +
  65 + <item>
  66 + <attribute name="label" translatable="yes">Quit</attribute>
  67 + <attribute name="action">app.quit</attribute>
  68 + </item>
  69 +
47 70 </menu>
48 71  
49 72 <menu id='menubar'>
... ...