summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-03-18 13:10:01 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-03-18 13:15:40 +0100
commit2ccf5e51248825547c2ca44d2d892ee9d35a979c (patch)
tree2cfbd332deccce91764a9700237008c064d479fb
parent883dfa207653b88aeaa8514b0283295775efa62f (diff)
downloadcontrol-center-2ccf5e51248825547c2ca44d2d892ee9d35a979c.tar
control-center-2ccf5e51248825547c2ca44d2d892ee9d35a979c.tar.gz
control-center-2ccf5e51248825547c2ca44d2d892ee9d35a979c.tar.bz2
control-center-2ccf5e51248825547c2ca44d2d892ee9d35a979c.tar.xz
control-center-2ccf5e51248825547c2ca44d2d892ee9d35a979c.zip
add comments to explain
-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) = @_;