aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-11-27 18:31:14 +0000
committerThierry Vignaud <tv@mandriva.org>2006-11-27 18:31:14 +0000
commitfd3c3bcf959cbde51de42ef2f9b9cfde1c435377 (patch)
treeabc69b741d6a9b69907dc86021aec84387105b78
parent87bf3c13646386ed10f756006b345bd22ae22019 (diff)
downloadrpmdrake-fd3c3bcf959cbde51de42ef2f9b9cfde1c435377.tar
rpmdrake-fd3c3bcf959cbde51de42ef2f9b9cfde1c435377.tar.gz
rpmdrake-fd3c3bcf959cbde51de42ef2f9b9cfde1c435377.tar.bz2
rpmdrake-fd3c3bcf959cbde51de42ef2f9b9cfde1c435377.tar.xz
rpmdrake-fd3c3bcf959cbde51de42ef2f9b9cfde1c435377.zip
add a "select all" button (reall "toggle") (#25271)
-rwxr-xr-xrpmdrake6
1 files changed, 6 insertions, 0 deletions
diff --git a/rpmdrake b/rpmdrake
index 3cc9aae3..d0c12777 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -1436,6 +1436,12 @@ Do you really want to install all the selected packages?"), yesno => 1)
clicked => sub { rpmdrake::open_help($MODE) },
),
1, $status,
+ 0, my $select_button = gtksignal_connect(
+ Gtk2::Button->new(but_(N("Select all"))),
+ clicked => sub {
+ $options->{toggle_all}->(1);
+ },
+ ),
0, my $action_button = gtksignal_connect(
Gtk2::Button->new(but_(N("Apply"))),
clicked => sub { $do_action->() },