items : [
{
xtype: Gtk.MenuItem,
- label : "File",
+ use_underline : true,
+ label : "_File",
items : [
{
xtype: Gtk.Menu,
items : [
{
xtype: Gtk.MenuItem,
- label : "New Project",
+ use_underline : true,
+ label : "New _Project",
listeners : {
"activate":function (self) {
this.get('/EditProject').show({
},
{
xtype: Gtk.MenuItem,
- label : "New File",
+ label : "_New File",
+ use_underline : true,
listeners : {
"activate":function (self) {
var fn = this.get('/LeftProjectTree.combo').getValue();
xtype: Gtk.MenuItem,
pack : "add",
label : "_Quit",
- use_underline : true
+ use_underline : true,
+ listeners : {
+ "activate":function (self) {
+ Gtk.main_quit();
+ }
+ }
}
]
}