aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-10-16 10:56:30 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-10-16 11:14:50 +0200
commit3add6a575add1f64c46903ae0109e1fd24d5bfb1 (patch)
tree455ed4969e587c135ceef8262e2684c69df88602
parentb21eb767363f787bae9ae52df04df99940f60276 (diff)
downloadrpmdrake-3add6a575add1f64c46903ae0109e1fd24d5bfb1.tar
rpmdrake-3add6a575add1f64c46903ae0109e1fd24d5bfb1.tar.gz
rpmdrake-3add6a575add1f64c46903ae0109e1fd24d5bfb1.tar.bz2
rpmdrake-3add6a575add1f64c46903ae0109e1fd24d5bfb1.tar.xz
rpmdrake-3add6a575add1f64c46903ae0109e1fd24d5bfb1.zip
show a tooltip for arch column too (mga#7962)
-rw-r--r--NEWS2
-rwxr-xr-xrpmdrake2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index aef3ffcc..14fb229f 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,4 @@
-- add tooltip to status column (mga#7962)
+- add tooltips to arch & status columns (mga#7962)
Version 6.23 - 7 October 2016, Thierry Vignaud
diff --git a/rpmdrake b/rpmdrake
index 43b53793..13bdd72c 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -349,6 +349,7 @@ sub run_treeview_dialog {
#-PO: "Architecture" but to be kept *small* !!!
N("Arch."),
text => $pkg_columns{arch},
+ tip => N("This shows the architecture for with the package has been built"),
}),
);
foreach my $col (@columns{@columns}) {
@@ -361,6 +362,7 @@ sub run_treeview_dialog {
)
);
$col->{widget}->set_sort_column_id($col->{markup} || $col->{text});
+ $col->{widget}->get_button->set_tooltip_markup($col->{tip}) if $w && $col->{tip};
}
$columns{$_}{widget}->set_sizing('autosize') foreach @columns;
$columns{name}{widget}->set_property('expand', '1');