summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2004-02-06 14:48:44 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2004-02-06 14:48:44 +0000
commit896a554ac1a8f32ebb45ce883cfa1a9ab3f2af8f (patch)
tree9c51d4032ddc9df18338f7165b41a6a7366808bb
parent2a8c81d83aad546873a3207072d2764e1a20986d (diff)
downloadurpmi-896a554ac1a8f32ebb45ce883cfa1a9ab3f2af8f.tar
urpmi-896a554ac1a8f32ebb45ce883cfa1a9ab3f2af8f.tar.gz
urpmi-896a554ac1a8f32ebb45ce883cfa1a9ab3f2af8f.tar.bz2
urpmi-896a554ac1a8f32ebb45ce883cfa1a9ab3f2af8f.tar.xz
urpmi-896a554ac1a8f32ebb45ce883cfa1a9ab3f2af8f.zip
make use of shrink_window
-rw-r--r--gurpm.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gurpm.pm b/gurpm.pm
index 48008891..11e07981 100644
--- a/gurpm.pm
+++ b/gurpm.pm
@@ -73,7 +73,9 @@ sub invalidate_cancel {
}
sub invalidate_cancel_forever {
- $hbox_cancel and $hbox_cancel->destroy;
+ $hbox_cancel or return;
+ $hbox_cancel->destroy;
+ $mainw->shrink_topwindow;
}
1;