diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2004-02-09 17:07:26 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2004-02-09 17:07:26 +0000 |
commit | d52a97db192af88bab7de2f84bfed6637aeb9261 (patch) | |
tree | 084f15244d280ad8a646f30c72421bf00ccfbf77 | |
parent | 92f83ee960355ccdc443e073423aa4b1b55e8d2d (diff) | |
download | urpmi-d52a97db192af88bab7de2f84bfed6637aeb9261.tar urpmi-d52a97db192af88bab7de2f84bfed6637aeb9261.tar.gz urpmi-d52a97db192af88bab7de2f84bfed6637aeb9261.tar.bz2 urpmi-d52a97db192af88bab7de2f84bfed6637aeb9261.tar.xz urpmi-d52a97db192af88bab7de2f84bfed6637aeb9261.zip |
allow more buttons in gmessage
-rwxr-xr-x | urpmi | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -142,7 +142,7 @@ sub gmessage { my ($msg, %params) = @_; my $ok = to_utf8(N("Ok")); my $cancel = to_utf8(N("Cancel")); - my $buttons = $params{ok_only} ? "$ok:0" : "$ok:0,$cancel:2"; + my $buttons = ($params{ok_only} ? "$ok:0" : "$ok:0,$cancel:2") . $params{add_buttons}; $msg = to_utf8($msg); `gmessage -default "$ok" -buttons "$buttons" "$msg"`; } |