From 901b8371ac3c864fe1cdbc7067020a99c27e9fa6 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 21 Oct 2008 16:25:48 +0000 Subject: - gurpmi o fix answering yes to questions on error --- gurpmi2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gurpmi2') diff --git a/gurpmi2 b/gurpmi2 index 67c972c7..57ad610d 100755 --- a/gurpmi2 +++ b/gurpmi2 @@ -404,7 +404,7 @@ sub ask_yes_or_no { my $w = Gtk2::MessageDialog->new($mainw, [qw(modal destroy-with-parent)], 'warning', 'yes-no', $msg); my $response = $w->run; $w->destroy; - $response eq 'ok'; + $response eq 'yes'; } sub gtk_new_Label_Left { -- cgit v1.2.1