diff options
Diffstat (limited to 'x11-libs/libgksu/files/libgksu-2.0.12-g_markup_escape_text_for_command.patch')
-rw-r--r-- | x11-libs/libgksu/files/libgksu-2.0.12-g_markup_escape_text_for_command.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/x11-libs/libgksu/files/libgksu-2.0.12-g_markup_escape_text_for_command.patch b/x11-libs/libgksu/files/libgksu-2.0.12-g_markup_escape_text_for_command.patch new file mode 100644 index 000000000000..de3ab6806eee --- /dev/null +++ b/x11-libs/libgksu/files/libgksu-2.0.12-g_markup_escape_text_for_command.patch @@ -0,0 +1,21 @@ +Escape text for display in password prompt. + +From the Debian patch stack. + +--- a/libgksu/libgksu.c ++++ b/libgksu/libgksu.c +@@ -994,12 +994,12 @@ + "The application '%s' lets you " + "modify essential parts of your " + "system."), +- command); ++ g_markup_escape_text(command, -1)); + else + msg = g_strdup_printf (_("<b><big>Enter your password to run " + "the application '%s' as user %s" + "</big></b>"), +- command, context->user); ++ g_markup_escape_text(command, -1), context->user); + } + else + { |