aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-03-19 11:57:19 +0000
committerThierry Vignaud <tv@mandriva.org>2007-03-19 11:57:19 +0000
commit40954242a8fc38c4c508aaa6e32c151d7ccdc2e3 (patch)
tree548d40136a3b5d07e57ec6720432bc20d2a148db /Rpmdrake
parenta92fee42ae7e301ee4fd120a918e1a898f441b1b (diff)
downloadrpmdrake-40954242a8fc38c4c508aaa6e32c151d7ccdc2e3.tar
rpmdrake-40954242a8fc38c4c508aaa6e32c151d7ccdc2e3.tar.gz
rpmdrake-40954242a8fc38c4c508aaa6e32c151d7ccdc2e3.tar.bz2
rpmdrake-40954242a8fc38c4c508aaa6e32c151d7ccdc2e3.tar.xz
rpmdrake-40954242a8fc38c4c508aaa6e32c151d7ccdc2e3.zip
(node_state) do display it's a base package when needed (wasn't done since 2007.0)
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/gui.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 4e0a83cb..3f44d9c1 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -170,8 +170,8 @@ sub node_state {
$_[0] ? $pkg->{selected} ?
($urpm_obj->flag_installed ? ($urpm_obj->flag_upgrade ? 'to_install' : 'to_remove') : 'to_install')
: ($urpm_obj->flag_installed ?
- ($urpm_obj->flag_upgrade ? 'to_update' : 'installed')
- : ($urpm_obj->flag_base ? 'base' : 'uninstalled')) : 'XXX';
+ ($urpm_obj->flag_upgrade ? 'to_update' : ($urpm_obj->flag_base ? 'base' : 'installed'))
+ : 'uninstalled') : 'XXX';
}
my ($common, $w, %wtree, %ptree, %pix, %node_state, %state_stats);