~vish/ubuntu/maverick/pidgin/bug25979

« back to all changes in this revision

Viewing changes to pidgin/plugins/convcolors.c

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2009-10-09 19:40:26 UTC
  • mfrom: (1.4.1 upstream) (46.1.10 karmic)
  • Revision ID: james.westby@ubuntu.com-20091009194026-wbqqh0bsbz19nx5q
Tags: 1:2.6.2-1ubuntu7
* Don't stick the buddy list window to all desktops as some
  window managers have trouble to properly unstick it (LP: #346840)
  - debian/patches/11_buddy_list_really_show.patch
* Always use default tray icon size on KDE (LP: #209440)
  - debian/patches/62_tray_icon_size_kde.patch
* Use scrollbars in the preferences dialog if the screen height is
  below 700 px instead of 600 px
  - debian/patches/60_1024x600_gtkprefs.c.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
101
101
        gboolean bold, italic, underline;
102
102
        int f;
103
103
        const char *color;
 
104
        gboolean rtl = FALSE;
104
105
 
105
106
        for (i = 0; formats[i].prefix; i++)
106
107
                if (flags & formats[i].flag)
126
127
        bold = (f & FONT_BOLD);
127
128
        italic = (f & FONT_ITALIC);
128
129
        underline = (f & FONT_UNDERLINE);
 
130
        rtl = purple_markup_is_rtl(*displaying);
129
131
 
130
132
        if (purple_prefs_get_bool(PREF_IGNORE))
131
133
        {
156
158
        }
157
159
 
158
160
        t = *displaying;
159
 
        *displaying = g_strdup_printf("%s%s%s%s%s%s%s",
 
161
        *displaying = g_strdup_printf("%s%s%s%s%s%s%s%s%s",
160
162
                                                bold ? "<B>" : "</B>",
161
163
                                                italic ? "<I>" : "</I>",
162
164
                                                underline ? "<U>" : "</U>",
163
 
                                                t, 
 
165
                                                rtl ? "<SPAN style=\"direction:rtl;text-align:right;\">" : "",
 
166
                                                t,
 
167
                                                rtl ? "</SPAN>" : "",
164
168
                                                bold ? "</B>" : "<B>",
165
169
                                                italic ? "</I>" : "<I>",
166
170
                                                underline ? "</U>" : "<U>"