diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2011-05-03 17:11:43 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2011-05-03 17:36:58 +0800 |
commit | 9c9775421d361b2f615bb06a7e9286bfeb912da0 (patch) | |
tree | d71be70aa270d9f60b3854a4c8427d69adad04ac | |
parent | 7aa2b0f9959c05bd4c361cd582438fd92e9229e4 (diff) | |
download | gsoc2013-empathy-9c9775421d361b2f615bb06a7e9286bfeb912da0.tar gsoc2013-empathy-9c9775421d361b2f615bb06a7e9286bfeb912da0.tar.gz gsoc2013-empathy-9c9775421d361b2f615bb06a7e9286bfeb912da0.tar.bz2 gsoc2013-empathy-9c9775421d361b2f615bb06a7e9286bfeb912da0.tar.lz gsoc2013-empathy-9c9775421d361b2f615bb06a7e9286bfeb912da0.tar.xz gsoc2013-empathy-9c9775421d361b2f615bb06a7e9286bfeb912da0.tar.zst gsoc2013-empathy-9c9775421d361b2f615bb06a7e9286bfeb912da0.zip |
Adium: Events must be queued until the Template.html loaded
-rw-r--r-- | libempathy-gtk/empathy-theme-adium.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-theme-adium.c b/libempathy-gtk/empathy-theme-adium.c index 0d09de91c..8d5b3b7c7 100644 --- a/libempathy-gtk/empathy-theme-adium.c +++ b/libempathy-gtk/empathy-theme-adium.c @@ -833,8 +833,15 @@ static void theme_adium_append_event (EmpathyChatView *view, const gchar *str) { + EmpathyThemeAdiumPriv *priv = GET_PRIV (view); gchar *str_escaped; + if (priv->pages_loading != 0) { + /* FIXME: events should be queued until page loaded */ + DEBUG ("Error appending event (%s): Page not loaded", str); + return; + } + str_escaped = g_markup_escape_text (str, -1); theme_adium_append_event_escaped (view, str_escaped); g_free (str_escaped); |