From 305fedf99052d11732b88e9df361f205892de627 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 25 Sep 2008 14:02:08 +0000 Subject: disable contextual menu --- control-center | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/control-center b/control-center index 1fcd97b8..2da31097 100755 --- a/control-center +++ b/control-center @@ -919,6 +919,12 @@ foreach (@tree) { } } +# disable contextual menu: +$view->signal_connect('populate-popup' => sub { + my (undef, $menu) = @_; + $menu->destroy if $menu; + 1; + }); $view->signal_connect('navigation-requested' => sub { my (undef, undef, $request) = @_; -- cgit v1.2.1