[openpgp-applet] 19/42: key selection - fix tooltip (id display)
Clement Hermann
nodens at nodens.org
Wed Oct 26 16:47:51 UTC 2016
This is an automated email from the git hooks/post-receive script.
nodens-guest pushed a commit to branch master
in repository openpgp-applet.
commit 322e0110f1032c23d3581c7a408d4b86c53fae0b
Author: Clément Hermann (nodens) <nodens at nodens.org>
Date: Tue Jul 5 20:05:05 2016 +0200
key selection - fix tooltip (id display)
one level too much of indirection with the old Gtk2 method (thx intrigeri)
---
bin/openpgp-applet | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/bin/openpgp-applet b/bin/openpgp-applet
index 4049dfd..c277fd1 100755
--- a/bin/openpgp-applet
+++ b/bin/openpgp-applet
@@ -434,9 +434,8 @@ sub make_pub_key_list {
$list->signal_connect('query-tooltip' => sub {
my ($wx, $wy, $tooltip) = ($_[1], $_[2], $_[4]);
my ($x, $y) = $list->convert_widget_to_bin_window_coords($wx, $wy);
- my $path = $list->get_path_at_pos($x, $y);
- return FALSE unless defined $path;
- my $row = ($path->get_indices)[0];
+ my $row = $list->get_path_at_pos($x, $y);
+ return FALSE unless defined $row;
my $fingerprint =
join(" ", (${$list->{data}}[$row][C_FINGERPRINT] =~ m/..../g));
my $fingerprint_label = $encoding->decode(__("Fingerprint:"));
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/openpgp-applet.git
More information about the Pkg-perl-cvs-commits
mailing list