Skip to content

Commit

Permalink
Re-introduce Navigationbar action revealing the toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
kalikiana committed Feb 17, 2019
1 parent 7b2675a commit 141cedc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/browser.vala
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ namespace Midori {
internal bool is_small { get; protected set; default = false; }

const ActionEntry[] actions = {
{ "navigationbar", navigationbar_activated },
{ "tab-close", tab_close_activated },
{ "close", close_activated },
{ "tab-reopen", tab_reopen_activated },
Expand Down Expand Up @@ -417,6 +418,10 @@ namespace Midori {
tabs.visible_child = tab;
}

void navigationbar_activated () {
navigationbar.show ();
}

void tab_close_activated () {
tab.try_close ();
}
Expand Down

0 comments on commit 141cedc

Please sign in to comment.