aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AdminPanel/Rpmdragora
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2014-12-10 17:17:56 +0100
committerAngelo Naselli <anaselli@linux.it>2014-12-10 17:17:56 +0100
commitfb62df8ddb19323c3fb1369743446f2da182cba6 (patch)
treef50dcebc9094f18c15000a4636c8fc3a21bd98a1 /lib/AdminPanel/Rpmdragora
parent4442bfd562ddf0a525daa6aef3e3873ecae88165 (diff)
downloadcolin-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/AdminPanel/Rpmdragora')
-rw-r--r--lib/AdminPanel/Rpmdragora/gurpm.pm2
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__(