aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-09-03 08:55:23 +0000
committerThierry Vignaud <tv@mandriva.org>2007-09-03 08:55:23 +0000
commita0ed0f4efcc8eb1e6f6cc7ec368633fbec85fb2c (patch)
tree7e044fff7f9c52ba881b56bb7a13854e5b84bc3c /Rpmdrake
parent93a8387544877156e9aeed6c37879fa4414f1c36 (diff)
downloadrpmdrake-a0ed0f4efcc8eb1e6f6cc7ec368633fbec85fb2c.tar
rpmdrake-a0ed0f4efcc8eb1e6f6cc7ec368633fbec85fb2c.tar.gz
rpmdrake-a0ed0f4efcc8eb1e6f6cc7ec368633fbec85fb2c.tar.bz2
rpmdrake-a0ed0f4efcc8eb1e6f6cc7ec368633fbec85fb2c.tar.xz
rpmdrake-a0ed0f4efcc8eb1e6f6cc7ec368633fbec85fb2c.zip
(fast_toggle) use before_leaving() (needed for next commit)
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/gui.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index bb75abc2..3c35c673 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -350,10 +350,10 @@ sub ask_browse_tree_given_widgets_for_rpmdrake {
my $fast_toggle = sub {
my ($iter) = @_;
gtkset_mousecursor_wait($w->{w}{rwindow}->window);
+ my $_cleaner = before_leaving { gtkset_mousecursor_normal($w->{w}{rwindow}->window) };
toggle_nodes($w->{tree}->window, $w->{detail_list_model}, \&set_leaf_state, $w->{detail_list_model}->get($iter, $pkg_columns{state}),
$w->{detail_list_model}->get($iter, $pkg_columns{text}));
update_size($common);
- gtkset_mousecursor_normal($w->{w}{rwindow}->window);
};
$w->{detail_list}->get_selection->signal_connect(changed => sub {
my ($model, $iter) = $_[0]->get_selected;