mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
add clean session action and menu item
This commit is contained in:
parent
6cf3977a9f
commit
ab6f0cca3a
7 changed files with 27 additions and 0 deletions
|
|
@ -22,6 +22,14 @@ Browser::Browser(
|
|||
}
|
||||
);
|
||||
|
||||
const auto ACTION__CLEAN = add_action(
|
||||
"clean",
|
||||
[this]
|
||||
{
|
||||
browserMain->clean();
|
||||
}
|
||||
);
|
||||
|
||||
const auto ACTION__RESTORE = add_action(
|
||||
"restore",
|
||||
[this]
|
||||
|
|
@ -194,6 +202,7 @@ Browser::Browser(
|
|||
browserHeader = Gtk::make_managed<browser::Header>(
|
||||
ACTION__DEBUG,
|
||||
ACTION__QUIT,
|
||||
ACTION__CLEAN,
|
||||
ACTION__RESTORE,
|
||||
ACTION__SAVE,
|
||||
ACTION__MAIN_TAB_APPEND,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue