summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorChristian Dywan <christian@twotoasts.de>2019-02-20 23:53:32 +0100
committerGitHub <noreply@github.com>2019-02-20 23:53:32 +0100
commitb02a2ad704c88c938400beea584d8c6cefb4bd94 (patch)
treeb3b8ca8218309181247bc461501c551925b3335f /core
parent494c7e8a0efe5afd8a1ed5a843850e9629c519c3 (diff)
downloadmidori-git-b02a2ad704c88c938400beea584d8c6cefb4bd94.tar.gz
Don't disable the fullscreen action (#266)
Although the toggle may be hidden, the action needs to be enabled to be activated programmatically. Fixes: #210
Diffstat (limited to 'core')
-rw-r--r--core/browser.vala3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/browser.vala b/core/browser.vala
index 487c2bf1..7cc3b111 100644
--- a/core/browser.vala
+++ b/core/browser.vala
@@ -190,9 +190,6 @@ namespace Midori {
var fullscreen = new SimpleAction ("fullscreen", null);
fullscreen.activate.connect (fullscreen_activated);
add_action (fullscreen);
- navigationbar.notify["visible"].connect (() => {
- fullscreen.set_enabled (navigationbar.visible);
- });
// Action for panel toggling
action = new SimpleAction.stateful ("panel", null, false);
action.set_enabled (false);