Commit 2f519025bdb4bcf5111386508413c345072c6c5d

Authored by Perry Werneck
1 parent a8459063

Updating UI.

Showing 1 changed file with 87 additions and 13 deletions   Show diff stats
ui/window.xml
... ... @@ -31,27 +31,101 @@
31 31  
32 32 <requires lib="gtk+" version="3.0"/>
33 33 <menu id="open-menu">
34   - <section>
  34 +
  35 + <submenu>
  36 +
  37 + <attribute name='label' translatable='yes'>_New</attribute>
35 38  
36 39 <item>
37   - <attribute name="label" translatable="yes">New tab</attribute>
  40 + <attribute name="label" translatable="yes">Window with default session</attribute>
  41 + <attribute name="action">app.new.window</attribute>
  42 + </item>
  43 +
  44 + <item>
  45 + <attribute name="label" translatable="yes">Tab with default session</attribute>
38 46 <attribute name="action">app.new.tab</attribute>
39 47 </item>
  48 +
  49 + </submenu>
  50 +
  51 + <submenu>
  52 +
  53 + <attribute name='label' translatable='yes'>_Open</attribute>
  54 +
40 55 <item>
41   - <attribute name="label" translatable="yes">New Window</attribute>
42   - <attribute name="action">app.new.window</attribute>
  56 + <attribute name="label" translatable="yes">Session in new window</attribute>
  57 + <attribute name="action">app.open.session.window</attribute>
43 58 </item>
44   - </section>
45 59  
46   - <item>
47   - <attribute name="label" translatable="yes">Session properties</attribute>
48   - <attribute name="action">win.session.properties</attribute>
49   - </item>
  60 + <item>
  61 + <attribute name="label" translatable="yes">Session in New Tab</attribute>
  62 + <attribute name="action">app.open.session.tab</attribute>
  63 + </item>
50 64  
51   - <item>
52   - <attribute name="label" translatable="yes">Preferences</attribute>
53   - <attribute name="action">app.preferences</attribute>
54   - </item>
  65 + </submenu>
  66 +
  67 + <submenu>
  68 +
  69 + <attribute name='label' translatable='yes'>Save</attribute>
  70 +
  71 + <item>
  72 + <attribute name="label" translatable="yes">Session properties</attribute>
  73 + <attribute name="action">win.save.session.as</attribute>
  74 + </item>
  75 +
  76 + <item>
  77 + <attribute name="label" translatable="yes">Current screen</attribute>
  78 + <attribute name="action">win.save-all</attribute>
  79 + </item>
  80 +
  81 + <item>
  82 + <attribute name="label" translatable="yes">Selected area</attribute>
  83 + <attribute name="action">win.save-selected</attribute>
  84 + </item>
  85 +
  86 + <item>
  87 + <attribute name="label" translatable="yes">Clipboard contents</attribute>
  88 + <attribute name="action">win.save-copy</attribute>
  89 + </item>
  90 +
  91 + </submenu>
  92 +
  93 + <submenu>
  94 +
  95 + <attribute name='label' translatable='yes'>Print</attribute>
  96 +
  97 + <item>
  98 + <attribute name="label" translatable="yes">Current Screen</attribute>
  99 + <attribute name="action">win.print-all</attribute>
  100 + </item>
  101 +
  102 + <item>
  103 + <attribute name="label" translatable="yes">Selected area</attribute>
  104 + <attribute name="action">win.print-selected</attribute>
  105 + </item>
  106 +
  107 + <item>
  108 + <attribute name="label" translatable="yes">Clipboard contents</attribute>
  109 + <attribute name="action">win.print-copy</attribute>
  110 + </item>
  111 +
  112 + </submenu>
  113 +
  114 + <submenu>
  115 +
  116 + <attribute name='label' translatable='yes'>Preferences</attribute>
  117 +
  118 + <item>
  119 + <attribute name="label" translatable="yes">Application</attribute>
  120 + <attribute name="action">app.preferences</attribute>
  121 + </item>
  122 +
  123 + <item>
  124 + <attribute name="label" translatable="yes">Current session</attribute>
  125 + <attribute name="action">win.session.properties</attribute>
  126 + </item>
  127 +
  128 + </submenu>
55 129  
56 130 </menu>
57 131  
... ...