summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-08 02:24:59 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-24 23:28:16 +0100
commitb9dcdd9e3db2bd26f501f7edfd94a54ec778829d (patch)
tree38922cc44fc45f5b47b09965e28eba77a45ef7c5
parent0f6353aec7c82e1777483ad8c3b5cc903fba151c (diff)
downloaddrakx-b9dcdd9e3db2bd26f501f7edfd94a54ec778829d.tar
drakx-b9dcdd9e3db2bd26f501f7edfd94a54ec778829d.tar.gz
drakx-b9dcdd9e3db2bd26f501f7edfd94a54ec778829d.tar.bz2
drakx-b9dcdd9e3db2bd26f501f7edfd94a54ec778829d.tar.xz
drakx-b9dcdd9e3db2bd26f501f7edfd94a54ec778829d.zip
ignore events who lack ->x & ->y
-rw-r--r--perl-install/ugtk3.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/ugtk3.pm b/perl-install/ugtk3.pm
index e9952b79e..6f931a801 100644
--- a/perl-install/ugtk3.pm
+++ b/perl-install/ugtk3.pm
@@ -1174,6 +1174,7 @@ sub ask_browse_tree_info_given_widgets {
});
$w->{tree}->signal_connect(button_press_event => sub { #- not too good, but CellRendererPixbuf does not have the needed signals :(
my (undef, $event) = @_;
+ return if $event =~ /Gtk3::Gdk::Event=/;
my ($path, $column) = $w->{tree}->get_path_at_pos($event->x, $event->y);
if ($path && $column) {
$column->{is_pix} and $mouse_toggle_pending = $w->{tree_model}->get($w->{tree_model}->get_iter($path), 0);