|
|
@ -17,16 +17,34 @@ Menu::Menu() |
|
|
|
"win.tab_append" |
|
|
|
"win.tab_append" |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
tab->append( |
|
|
|
// Build tab close submenu model
|
|
|
|
_("Close active"), |
|
|
|
tab_close = Gio::Menu::create(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
tab_close->append( |
|
|
|
|
|
|
|
_("Active tab"), |
|
|
|
"win.tab_close" |
|
|
|
"win.tab_close" |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
tab->append( |
|
|
|
tab_close->append( |
|
|
|
_("Close all"), |
|
|
|
_("Tabs to left"), |
|
|
|
|
|
|
|
"win.tab_close_left" |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
tab_close->append( |
|
|
|
|
|
|
|
_("Tabs to right"), |
|
|
|
|
|
|
|
"win.tab_close_right" |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
tab_close->append( |
|
|
|
|
|
|
|
_("All tabs"), |
|
|
|
"win.tab_close_all" |
|
|
|
"win.tab_close_all" |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
tab->append_submenu( |
|
|
|
|
|
|
|
_("Close"), |
|
|
|
|
|
|
|
tab_close |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
// Build tool submenu model
|
|
|
|
// Build tool submenu model
|
|
|
|
tool = Gio::Menu::create(); |
|
|
|
tool = Gio::Menu::create(); |
|
|
|
|
|
|
|
|
|
|
|