summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-02-26 15:37:30 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-02-26 15:37:30 +0000
commite0927054de7e3a5bca1e7e5a4edc310adcb33f0c (patch)
tree8a0587449bc187334f8ccbbd3e56c286451a4450
parent97b8def6cec30ba7b6e7055f896c454aa319c571 (diff)
downloadcontrol-center-e0927054de7e3a5bca1e7e5a4edc310adcb33f0c.tar
control-center-e0927054de7e3a5bca1e7e5a4edc310adcb33f0c.tar.gz
control-center-e0927054de7e3a5bca1e7e5a4edc310adcb33f0c.tar.bz2
control-center-e0927054de7e3a5bca1e7e5a4edc310adcb33f0c.tar.xz
control-center-e0927054de7e3a5bca1e7e5a4edc310adcb33f0c.zip
since we've increase the timer frequencey because of the fading, we
need to decrease animation speed
-rwxr-xr-xcontrol-center4
1 files changed, 2 insertions, 2 deletions
diff --git a/control-center b/control-center
index b343f382..09c1c7dc 100755
--- a/control-center
+++ b/control-center
@@ -667,7 +667,7 @@ $run_darea->signal_connect(expose_event => sub {
my $style = $run_darea->{style} ||= $run_darea->get_style;
$run_darea->window->draw_layout($style->text_gc('normal'), $y_text + $width/2 - $txt_width/2, $x_text, $run_darea->{layout});
$run_counter += $run_counter_add;
- $run_counter_add = -$run_counter_add if $run_counter < 100 || 245 < $run_counter;
+ $run_counter_add = -$run_counter_add if $run_counter < 100 || 255-$run_counter_add < $run_counter;
});
gtkflush();
@@ -809,7 +809,7 @@ sub compute_exec_string {
$previous->hide;
$run_pixbuf = gtkcreate_pixbuf($icon . "_128");
$run_counter = 255;
- $run_counter_add = -10;
+ $run_counter_add = -5;
$timeout = Glib::Timeout->add(35, sub {
my $style = $run_darea->{style} ||= $run_darea->get_style;
my $bg = $run_darea->{bg} ||= $style->bg('normal');