fix some markup issues
This commit is contained in:
parent
f082ccb7eb
commit
6c3559e89f
12
escape-comment.patch
Normal file
12
escape-comment.patch
Normal file
@ -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 ("<b>%s</b>\n%s", name,
|
||||||
|
+ return g_markup_printf_escaped ("<b>%s</b>\n%s", name,
|
||||||
|
(!gsm_util_text_is_blank (comment) ?
|
||||||
|
comment : _("No description")));
|
||||||
|
}
|
@ -12,7 +12,7 @@
|
|||||||
Summary: GNOME session manager
|
Summary: GNOME session manager
|
||||||
Name: gnome-session
|
Name: gnome-session
|
||||||
Version: 2.23.4.1
|
Version: 2.23.4.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
URL: http://www.gnome.org
|
URL: http://www.gnome.org
|
||||||
Source0: http://download.gnome.org/sources/gnome-session/2.23/%{name}-%{version}.tar.bz2
|
Source0: http://download.gnome.org/sources/gnome-session/2.23/%{name}-%{version}.tar.bz2
|
||||||
Source1: redhat-default-session
|
Source1: redhat-default-session
|
||||||
@ -56,6 +56,9 @@ Patch22: ice-leaks.patch
|
|||||||
# Work around the assumption that the nautilus desktop file is nautilus.desktop
|
# Work around the assumption that the nautilus desktop file is nautilus.desktop
|
||||||
Patch34: gnome-session-nautilus.patch
|
Patch34: gnome-session-nautilus.patch
|
||||||
|
|
||||||
|
# http://bugzilla.gnome.org/show_bug.cgi?id=542086
|
||||||
|
Patch47: escape-comment.patch
|
||||||
|
|
||||||
BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
|
BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
|
||||||
BuildRequires: gtk2-devel >= %{gtk2_version}
|
BuildRequires: gtk2-devel >= %{gtk2_version}
|
||||||
BuildRequires: dbus-devel >= %{dbus_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
|
#%patch21 -p0 -b .use-gdm-hints
|
||||||
#%patch22 -p1 -b .ice-leaks
|
#%patch22 -p1 -b .ice-leaks
|
||||||
%patch34 -p1 -b .nautilus
|
%patch34 -p1 -b .nautilus
|
||||||
|
%patch47 -p1 -b .escape-comment
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -184,6 +188,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 8 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.4.1-2
|
||||||
|
- Escape comments for markup
|
||||||
|
|
||||||
* Wed Jun 18 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.4.1-1
|
* Wed Jun 18 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.4.1-1
|
||||||
- Update to 2.23.4.1
|
- Update to 2.23.4.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user