summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrol-center4
1 files changed, 1 insertions, 3 deletions
diff --git a/control-center b/control-center
index 5ef79346..c83e1760 100755
--- a/control-center
+++ b/control-center
@@ -1045,8 +1045,6 @@ foreach (keys %check_boxes) {
# "wait while launching a program" area :
-my $run_pixbuf;
-
sub stop_wait_area() {
$wait_darea->hide;
if ($timeout) {
@@ -1232,7 +1230,7 @@ sub run_tool {
$exec .= " --embedded " . $emb_socket->get_id;
$wait_darea->show;
$cancel->show;
- $run_pixbuf = eval { gtkcreate_pixbuf($icon . "_128") };
+ my $run_pixbuf = eval { gtkcreate_pixbuf($icon . "_128") };
my $anim = Gtk3::Gdk::PixbufSimpleAnim->new(128,128, 1000/35);
$anim->add_frame(mygtk3::_pixbuf_render_alpha($run_pixbuf, 255-$_*5)) foreach 0..31; # fade away
$anim->add_frame(mygtk3::_pixbuf_render_alpha($run_pixbuf, 95+$_*5)) foreach 0..31; # fade back