summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrol-center3
1 files changed, 3 insertions, 0 deletions
diff --git a/control-center b/control-center
index 2cc98a0d..dc8575bd 100755
--- a/control-center
+++ b/control-center
@@ -687,6 +687,8 @@ my @buttons;
my $offset = 15;
$view = gtknew('WebKit2_WebView', no_popup_menu => 1);
+
+# start a program if given --start-with= option:
$view->signal_connect('load-changed' => sub {
my (undef, $msg) = @_;
state $done;
@@ -982,6 +984,7 @@ foreach (@tree) {
}
}
+# handle app clicks:
$view->signal_connect('decide-policy' =>
sub {
my (undef, $decision, $type) = @_;