aboutsummaryrefslogtreecommitdiffstats
path: root/modules/rpmdragora/dragoraUpdate
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2015-02-19 09:02:52 +0100
committerAngelo Naselli <anaselli@linux.it>2015-02-19 09:02:52 +0100
commit7c7ebdabba9f71bc0f347becf3256ad7dfce5555 (patch)
tree42d2ecb2c5670a2edbb03e8497f3dab8ab570f2e /modules/rpmdragora/dragoraUpdate
parent5b2ba6448343f672b44d69554eed107970180269 (diff)
downloadmanatools-7c7ebdabba9f71bc0f347becf3256ad7dfce5555.tar
manatools-7c7ebdabba9f71bc0f347becf3256ad7dfce5555.tar.gz
manatools-7c7ebdabba9f71bc0f347becf3256ad7dfce5555.tar.bz2
manatools-7c7ebdabba9f71bc0f347becf3256ad7dfce5555.tar.xz
manatools-7c7ebdabba9f71bc0f347becf3256ad7dfce5555.zip
Moved destroy after (seems to avoid a sometimes crash on exit), though maindialog is to big for an info message
Diffstat (limited to 'modules/rpmdragora/dragoraUpdate')
-rwxr-xr-xmodules/rpmdragora/dragoraUpdate14
1 files changed, 9 insertions, 5 deletions
diff --git a/modules/rpmdragora/dragoraUpdate b/modules/rpmdragora/dragoraUpdate
index 41f2306e..8b84af52 100755
--- a/modules/rpmdragora/dragoraUpdate
+++ b/modules/rpmdragora/dragoraUpdate
@@ -1,8 +1,12 @@
#!/usr/bin/perl
#*****************************************************************************
#
+# dragoraUpdate
+# Copyright (c) 2014-2015 Angelo Naselli <anaselli@linux.it>
+#
+# MandrivaUpdate and MageiaUpdate
# Copyright (c) 2002 Guillaume Cottenceau
-# Copyright (c) 2002-2007 Thierry Vignaud <tvignaud@mandriva.com>
+# Copyright (c) 2002-2014 Thierry Vignaud <tvignaud@mandriva.com>
# Copyright (c) 2003, 2004, 2005 MandrakeSoft SA
# Copyright (c) 2005-2007 Mandriva SA
#
@@ -21,7 +25,6 @@
#
#*****************************************************************************
#
-# $Id: MageiaUpdate 261845 2009-10-13 12:33:58Z tv $
use strict;
use MDK::Common::Func 'any';
@@ -404,16 +407,17 @@ sub run_treeview_dialog {
}
}
- $dialog->destroy();
-
if (!$num_pkgs) {
AdminPanel::rpmdragora::interactive_msg(
$loc->N("rpmdragora update"),
$loc->N("The list of updates is empty. This means that either there is no available update for the packages installed on your computer, or you already installed all of them."),
- scroll => 1
+ scroll => 1,
+ # main_dialog => 1,
);
}
+ $dialog->destroy();
+
#restore old application title
yui::YUI::app()->setApplicationTitle($appTitle) if $appTitle;