diff options
author | Angelo Naselli <anaselli@linux.it> | 2014-11-30 22:37:55 +0100 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2014-11-30 22:37:55 +0100 |
commit | 73b4f01db5050eb079e81fbfb829f2c0386a6ba7 (patch) | |
tree | 97267757f1cf89a33c3218c47a947d4663b8a6ee /lib/AdminPanel | |
parent | b1dc12e97b44b9d27ee6ac584ba2163826eed2c7 (diff) | |
download | manatools-73b4f01db5050eb079e81fbfb829f2c0386a6ba7.tar manatools-73b4f01db5050eb079e81fbfb829f2c0386a6ba7.tar.gz manatools-73b4f01db5050eb079e81fbfb829f2c0386a6ba7.tar.bz2 manatools-73b4f01db5050eb079e81fbfb829f2c0386a6ba7.tar.xz manatools-73b4f01db5050eb079e81fbfb829f2c0386a6ba7.zip |
- Package column splitted in Package and Summary to be seen also in ncurses
- restored base package names
Diffstat (limited to 'lib/AdminPanel')
-rw-r--r-- | lib/AdminPanel/Rpmdragora/gui.pm | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/lib/AdminPanel/Rpmdragora/gui.pm b/lib/AdminPanel/Rpmdragora/gui.pm index 87e6d2dd..2fe8563d 100644 --- a/lib/AdminPanel/Rpmdragora/gui.pm +++ b/lib/AdminPanel/Rpmdragora/gui.pm @@ -489,17 +489,17 @@ sub set_node_state { $detail_list->checkItem($tblItem, 0); # $tblItem->setSelected(0); } - if(!to_bool($state ne 'base')){ - #$iter->cell(0)->setLabel('-'); - $tblItem->cell(0)->setLabel('-'); - } +# if(!to_bool($state ne 'base')){ +# #$iter->cell(0)->setLabel('-'); +# $tblItem->cell(0)->setLabel('-'); +# } $detail_list->parent()->parent()->doneMultipleChanges(); } else { # no item list means we use just the item to add state information $tblItem->addCell($state,"/usr/share/rpmdrake/icons/state_$state.png") if(ref $tblItem eq "yui::YCBTableItem"); $tblItem->check(to_bool(member($state, qw(base installed to_install)))); - $tblItem->cell(0)->setLabel('-') if !to_bool($state ne 'base'); +# $tblItem->cell(0)->setLabel('-') if !to_bool($state ne 'base'); } } @@ -685,7 +685,8 @@ sub add_package_item { # TODO FIXME summary is not visible in necurses (adding a new column as in dragoraUpdate) my $newTableItem = new yui::YCBTableItem( - $name."\n".get_summary($pkg_name), + $name, + get_summary($pkg_name), $version, $release, $arch @@ -750,7 +751,8 @@ carp "TODO: add_node is_a_package(\$leaf)" . $leaf . "\n"; $release = "" if(!defined($release)); $arch = "" if(!defined($arch)); #my $newTableItem = new yui::YTableItem(format_name_n_summary($name, get_summary($leaf)), - my $newTableItem = new yui::YCBTableItem($name."\n".get_summary($leaf), + my $newTableItem = new yui::YCBTableItem($name, + get_summary($leaf), $version, $release, $arch); |