aboutsummaryrefslogtreecommitdiffstats
path: root/gurpmi.addmedia
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-08-07 12:31:59 +0000
committerThierry Vignaud <tv@mandriva.org>2008-08-07 12:31:59 +0000
commit1def9ab881663e648088f4f05c6b0fc04443ed23 (patch)
treee90b9aeb2b84090e2881302dbfe05c2ffca61e50 /gurpmi.addmedia
parentbf497a5984ce182bf5945fa9c849cfe9813acdf5 (diff)
downloadrpmdrake-1def9ab881663e648088f4f05c6b0fc04443ed23.tar
rpmdrake-1def9ab881663e648088f4f05c6b0fc04443ed23.tar.gz
rpmdrake-1def9ab881663e648088f4f05c6b0fc04443ed23.tar.bz2
rpmdrake-1def9ab881663e648088f4f05c6b0fc04443ed23.tar.xz
rpmdrake-1def9ab881663e648088f4f05c6b0fc04443ed23.zip
fix "Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Unknown tag 'url' on line 1 char 14"
Diffstat (limited to 'gurpmi.addmedia')
-rwxr-xr-xgurpmi.addmedia3
1 files changed, 2 insertions, 1 deletions
diff --git a/gurpmi.addmedia b/gurpmi.addmedia
index 23c39230..9358e2e4 100755
--- a/gurpmi.addmedia
+++ b/gurpmi.addmedia
@@ -94,7 +94,8 @@ while (@ARGV) {
($name, $url) = ('', $name);
} elsif ($url !~ m,^(([^:]*):/)?/,) {
interactive_msg('gurpmi.addmedia',
- N("bad <url> (for local directory, the path must be absolute)") . "\n\n$url");
+ escape_text_for_TextView_markup_format(
+ N("bad <url> (for local directory, the path must be absolute)") . "\n\n$url"));
myexit(-1);
}
push @addmedia_args, [ $name, $url ];