aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rpmdrake.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index 189e5ebf..82d12312 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -69,8 +69,8 @@ sub interactive_msg {
0, gtkpack(create_hbox(),
$options->{yesno} ? (gtksignal_connect(new Gtk::Button($options->{text}{yes} || _("Yes")),
clicked => sub { $d->{retval} = 1; Gtk->main_quit }),
- gtksignal_connect(new Gtk::Button($options->{test}{no} || _("No")), clicked =>
- sub { $d->{retval} = 0; Gtk->main_quit }))
+ gtksignal_connect(new Gtk::Button($options->{text}{no} || _("No")),
+ clicked => sub { $d->{retval} = 0; Gtk->main_quit }))
: gtksignal_connect(new Gtk::Button(_("Ok")), clicked => sub { Gtk->main_quit })
)));
$d->main;