diff options
author | Angelo Naselli <anaselli@linux.it> | 2014-12-10 17:17:56 +0100 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2014-12-10 17:17:56 +0100 |
commit | fb62df8ddb19323c3fb1369743446f2da182cba6 (patch) | |
tree | f50dcebc9094f18c15000a4636c8fc3a21bd98a1 /lib | |
parent | 4442bfd562ddf0a525daa6aef3e3873ecae88165 (diff) | |
download | colin-keep-fb62df8ddb19323c3fb1369743446f2da182cba6.tar colin-keep-fb62df8ddb19323c3fb1369743446f2da182cba6.tar.gz colin-keep-fb62df8ddb19323c3fb1369743446f2da182cba6.tar.bz2 colin-keep-fb62df8ddb19323c3fb1369743446f2da182cba6.tar.xz colin-keep-fb62df8ddb19323c3fb1369743446f2da182cba6.zip |
Probably useless, but if a doneMultipleChanges is called, before it a
startMultipleChnages should be called as well
Diffstat (limited to 'lib')
-rw-r--r-- | lib/AdminPanel/Rpmdragora/gurpm.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/AdminPanel/Rpmdragora/gurpm.pm b/lib/AdminPanel/Rpmdragora/gurpm.pm index 386c5ba..b70c3b1 100644 --- a/lib/AdminPanel/Rpmdragora/gurpm.pm +++ b/lib/AdminPanel/Rpmdragora/gurpm.pm @@ -93,6 +93,7 @@ sub progress { $self->{progressbar}->setValue($value); return if Time::HiRes::clock_gettime() - $time < 0.333; $time = Time::HiRes::clock_gettime(); + $self->{mainw}->startMultipleChanges(); $self->flush(); } @@ -106,6 +107,7 @@ sub DESTROY { sub validate_cancel { my ($self, $cancel_msg, $cancel_cb) = @_; + $self->{mainw}->startMultipleChanges(); if (!$self->{cancel}) { $self->{cancel} = $self->{factory}->createIconButton($self->{vbox},"",$cancel_msg); #gtkpack__( |