aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-03-19 12:16:08 +0000
committerThierry Vignaud <tv@mandriva.org>2007-03-19 12:16:08 +0000
commitdf0fd2792a3cbeea2eb97e237d7b4b9ba1bc1ec8 (patch)
tree73dc46fe7c7af43261201dd2437863cc7b74b661
parent38c3294ed883413773f294bba4bab9a8009002eb (diff)
downloadrpmdrake-df0fd2792a3cbeea2eb97e237d7b4b9ba1bc1ec8.tar
rpmdrake-df0fd2792a3cbeea2eb97e237d7b4b9ba1bc1ec8.tar.gz
rpmdrake-df0fd2792a3cbeea2eb97e237d7b4b9ba1bc1ec8.tar.bz2
rpmdrake-df0fd2792a3cbeea2eb97e237d7b4b9ba1bc1ec8.tar.xz
rpmdrake-df0fd2792a3cbeea2eb97e237d7b4b9ba1bc1ec8.zip
(ask_browse_tree_given_widgets_for_rpmdrake) do not do anything on key
press on the list (which conflicts/blocks such signals for Toggles) and this make rpmdrake behaving like other regular Gtk+ applications
-rw-r--r--Rpmdrake/gui.pm8
1 files changed, 0 insertions, 8 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index ba795cc4..3e66575d 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -395,14 +395,6 @@ sub ask_browse_tree_given_widgets_for_rpmdrake {
$fast_toggle->($iter) if $iter;
1;
});
- $w->{detail_list}->signal_connect(key_press_event => sub {
- my $c = chr($_[1]->keyval & 0xff);
- if ($_[1]->keyval >= 0x100 ? $c eq "\r" || $c eq "\x8d" : $c eq ' ') {
- my ($model, $iter) = $w->{detail_list}->get_selection->get_selected;
- $fast_toggle->($iter) if $model && $iter;
- }
- 0;
- });
$common->{rebuild_tree}->();
&$update_size;
$common->{initial_selection} and toggle_nodes($w->{tree}->window, $w->{detail_list_model}, \&set_leaf_state, undef, @{$common->{initial_selection}});