From e4f305a86101b8f03a561a2ae4057a1eed386685 Mon Sep 17 00:00:00 2001 From: Will Thompson Date: Tue, 26 Jun 2012 10:08:51 +0100 Subject: Strip %senderPrefix% in Adium themes %senderPrefix% is not documented on but it's used in minimal_mod, the theme I use, in the tooltips for each speaker's name. Based on , it's supposed to be the IRC mode character (@, +, whatever). We don't have that information, so just get rid of it. https://bugzilla.gnome.org/show_bug.cgi?id=678845 --- libempathy-gtk/empathy-theme-adium.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libempathy-gtk') diff --git a/libempathy-gtk/empathy-theme-adium.c b/libempathy-gtk/empathy-theme-adium.c index 98df46b79..b77d1cf8b 100644 --- a/libempathy-gtk/empathy-theme-adium.c +++ b/libempathy-gtk/empathy-theme-adium.c @@ -600,6 +600,12 @@ theme_adium_append_html (EmpathyThemeAdium *theme, * local alias instead. */ replace = name; + } else if (theme_adium_match (&cur, "%senderPrefix%")) { + /* FIXME: If we supported IRC user mode flags, this + * would be replaced with @ if the user is an op, + if + * the user has voice, etc. as per + * http://hg.adium.im/adium/rev/b586b027de42. But we + * don't, so for now we just strip it. */ } else if (theme_adium_match_with_format (&cur, "%textbackgroundcolor{", &format)) { /* FIXME: This keyword is used to represent the * highlight background color. "X" is the opacity of the -- cgit v1.2.3