diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-06-29 04:03:33 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-06-29 04:03:33 +0000 |
commit | 22a2cb90db7cc5c7b7b1ba95b0e5713e5bad311a (patch) | |
tree | 06e4fc175bff19449a1a847084fa79a7c2c8a9fa | |
parent | bdba29162d46b9cfd7bfe3b8bb41bcf55f2d9a52 (diff) | |
download | urpmi-22a2cb90db7cc5c7b7b1ba95b0e5713e5bad311a.tar urpmi-22a2cb90db7cc5c7b7b1ba95b0e5713e5bad311a.tar.gz urpmi-22a2cb90db7cc5c7b7b1ba95b0e5713e5bad311a.tar.bz2 urpmi-22a2cb90db7cc5c7b7b1ba95b0e5713e5bad311a.tar.xz urpmi-22a2cb90db7cc5c7b7b1ba95b0e5713e5bad311a.zip |
Allow to cancel insertion of new media in urpmi --gui
(bug 16344)
-rwxr-xr-x | urpmi | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -521,9 +521,8 @@ $urpm->copy_packages_of_removable_media( #- probably run from a drak tool my $gmessage = find { -x $_ } '/usr/X11R6/bin/gmessage', '/usr/bin/gmessage'; if ($gmessage) { - my $m = to_utf8("\n$msg\n\n$msg2"); - system($gmessage, $m); - return 1; + my $m = to_utf8("\n$msg\n"); + return system($gmessage, '-buttons', N("Ok") . ':0,' . N("Cancel") . ':1', $m); } } return defined message_input("$msg\n$msg2 "); |