From b2742d28f38d8f9bc363b85289d43d55f4370207 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Thu, 21 Feb 2019 22:55:43 +0100 Subject: Re-introduce Navigationbar action revealing the toolbar (#264) Fixes: #260 --- core/browser.vala | 5 +++++ 1 file changed, 5 insertions(+) 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 (); } -- cgit v1.2.1