diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-08-04 14:04:00 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-08-04 14:04:00 +0000 |
commit | 4bea1dd4060ad7a4e1928e994caab6ca44cd0be4 (patch) | |
tree | ed51708cb44ed720d91abd0fa82472ee5eb5078f /perl-install/ugtk2.pm | |
parent | 63810cb00b989181ed8fdd70ea3b2bc44a466530 (diff) | |
download | drakx-4bea1dd4060ad7a4e1928e994caab6ca44cd0be4.tar drakx-4bea1dd4060ad7a4e1928e994caab6ca44cd0be4.tar.gz drakx-4bea1dd4060ad7a4e1928e994caab6ca44cd0be4.tar.bz2 drakx-4bea1dd4060ad7a4e1928e994caab6ca44cd0be4.tar.xz drakx-4bea1dd4060ad7a4e1928e994caab6ca44cd0be4.zip |
fix not possible to select with mouse anymore (rpmdrake etc)
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r-- | perl-install/ugtk2.pm | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm index c42dfd7b7..f2e708205 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -1311,13 +1311,12 @@ sub ask_browse_tree_info_given_widgets { 0; }); $w->{tree}->signal_connect(button_press_event => sub { #- not too good, but CellRendererPixbuf doesn't have the needed signals :( - eval { my ($path, $column) = $w->{tree}->get_path_at_pos($_[1]->x, $_[1]->y); if ($path && $column) { - $column->{is_pix} and $mouse_toggle_pending = $w->{tree_model}->get($path, 0); + $column->{is_pix} and $mouse_toggle_pending = $w->{tree_model}->get($w->{tree_model}->get_iter($path), 0); } - }; #- there is a die for the line above about a variable not of type Gtk2::TreeIter where is_pix and tree_model are reference. - }); + 0; + }); $common->{rebuild_tree}->(); &$update_size; my $_b = before_leaving { $clear_all_caches->() }; |