diff --git a/escape-comment.patch b/escape-comment.patch new file mode 100644 index 0000000..94f2343 --- /dev/null +++ b/escape-comment.patch @@ -0,0 +1,12 @@ +diff -up gnome-session-2.23.4.1/capplet/commands.c.escape gnome-session-2.23.4.1/capplet/commands.c +--- gnome-session-2.23.4.1/capplet/commands.c.escape 2008-07-08 13:40:02.000000000 -0400 ++++ gnome-session-2.23.4.1/capplet/commands.c 2008-07-08 13:40:15.000000000 -0400 +@@ -788,7 +788,7 @@ char * + spc_command_get_app_description (const char *name, + const char *comment) + { +- return g_strdup_printf ("%s\n%s", name, ++ return g_markup_printf_escaped ("%s\n%s", name, + (!gsm_util_text_is_blank (comment) ? + comment : _("No description"))); + } diff --git a/gnome-session.spec b/gnome-session.spec index bb310c9..aca5b62 100644 --- a/gnome-session.spec +++ b/gnome-session.spec @@ -12,7 +12,7 @@ Summary: GNOME session manager Name: gnome-session Version: 2.23.4.1 -Release: 1%{?dist} +Release: 2%{?dist} URL: http://www.gnome.org Source0: http://download.gnome.org/sources/gnome-session/2.23/%{name}-%{version}.tar.bz2 Source1: redhat-default-session @@ -56,6 +56,9 @@ Patch22: ice-leaks.patch # Work around the assumption that the nautilus desktop file is nautilus.desktop Patch34: gnome-session-nautilus.patch +# http://bugzilla.gnome.org/show_bug.cgi?id=542086 +Patch47: escape-comment.patch + BuildRequires: libgnomeui-devel >= %{libgnomeui_version} BuildRequires: gtk2-devel >= %{gtk2_version} BuildRequires: dbus-devel >= %{dbus_version} @@ -99,6 +102,7 @@ GNOME components and handles logout and saving the session. #%patch21 -p0 -b .use-gdm-hints #%patch22 -p1 -b .ice-leaks %patch34 -p1 -b .nautilus +%patch47 -p1 -b .escape-comment %build @@ -184,6 +188,9 @@ fi %changelog +* Tue Jul 8 2008 Matthias Clasen - 2.23.4.1-2 +- Escape comments for markup + * Wed Jun 18 2008 Matthias Clasen - 2.23.4.1-1 - Update to 2.23.4.1