diff options
author | Christian Dywan <christian@twotoasts.de> | 2019-02-21 22:55:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-21 22:55:43 +0100 |
commit | b2742d28f38d8f9bc363b85289d43d55f4370207 (patch) | |
tree | cae0763a6967a15f050110216c041bff0d33f207 | |
parent | 516a0f50e95d09bb565e185924babfc8df49fe4d (diff) | |
download | midori-git-b2742d28f38d8f9bc363b85289d43d55f4370207.tar.gz |
Re-introduce Navigationbar action revealing the toolbar (#264)
Fixes: #260
-rw-r--r-- | core/browser.vala | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/browser.vala b/core/browser.vala index c098ad13..2d59ec4c 100644 --- a/core/browser.vala +++ b/core/browser.vala @@ -29,6 +29,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 }, @@ -432,6 +433,10 @@ namespace Midori { tabs.visible_child = tab; } + void navigationbar_activated () { + navigationbar.show (); + } + void tab_close_activated () { tab.try_close (); } |