[mail-notification] Fix markup with XFCE (RHBZ #715591)
epienbro
epienbro at fedoraproject.org
Sat Jun 25 16:15:46 UTC 2011
commit 9b2e60aa220ecaa311d3aeff3efcebc3e3cd3fc3
Author: Erik van Pienbroek <epienbro at fedoraproject.org>
Date: Sat Jun 25 18:15:14 2011 +0200
Fix markup with XFCE (RHBZ #715591)
Thanks to Enrico Scholz for supplying a patch!
mail-notification.spec | 7 ++++++-
popup-markup.patch | 24 ++++++++++++++++++++++++
2 files changed, 30 insertions(+), 1 deletions(-)
---
diff --git a/mail-notification.spec b/mail-notification.spec
index 70fb95e..9a81fea 100644
--- a/mail-notification.spec
+++ b/mail-notification.spec
@@ -1,6 +1,6 @@
Name: mail-notification
Version: 5.4
-Release: 38%{?dist}
+Release: 39%{?dist}
Summary: Status icon that informs you if you have new mail
Group: Applications/Internet
@@ -20,6 +20,7 @@ Patch9: mail-notification-5.4-evolution-3-0-support.patch
Patch10: mail-notification-5.4-gtk3-support.patch
Patch11: mail-notification-5.4-build-without-optimalisations.patch
Patch12: mail-notification-5.4-add-fallback-icon.patch
+Patch13: popup-markup.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gettext
@@ -245,6 +246,10 @@ export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
%changelog
+* Sat Jun 25 2011 Erik van Pienbroek <epienbro at fedoraproject.org> - 5.4-39
+- Fix markup with XFCE (RHBZ #715591)
+ Thanks to Enrico Scholz for supplying a patch!
+
* Fri Jun 17 2011 Erik van Pienbroek <epienbro at fedoraproject.org> - 5.4-38
- Fixed the compilation against the latest evolution
More changes are still needed for full compatibility
diff --git a/popup-markup.patch b/popup-markup.patch
new file mode 100644
index 0000000..49f704d
--- /dev/null
+++ b/popup-markup.patch
@@ -0,0 +1,24 @@
+Index: mail-notification-5.4/src/mn-popup.gob
+===================================================================
+--- mail-notification-5.4.orig/src/mn-popup.gob
++++ mail-notification-5.4/src/mn-popup.gob
+@@ -136,7 +136,7 @@ class MN:Popup from Notify:Notification
+ if (*body->str)
+ g_string_append_c(body, '\n');
+
+- g_string_append_printf(body, "<span weight=\"bold\">%s</span>", name);
++ g_string_append_printf(body, "<b>%s</b>", name);
+
+ escaped = g_markup_escape_text(value, -1);
+ g_string_append_printf(body, " %s", escaped);
+--- build/src/mn-popup.c.orig 2011-06-25 18:10:11.254559086 +0200
++++ build/src/mn-popup.c 2011-06-25 18:10:34.787967160 +0200
+@@ -401,7 +401,7 @@
+ if (*body->str)
+ g_string_append_c(body, '\n');
+
+- g_string_append_printf(body, "<span weight=\"bold\">%s</span>", name);
++ g_string_append_printf(body, "<b>%s</b>", name);
+
+ escaped = g_markup_escape_text(value, -1);
+ g_string_append_printf(body, " %s", escaped);
More information about the scm-commits
mailing list