--- a/pidgin/gtkconv.c Wed May 23 05:01:14 2012 +0000
+++ b/pidgin/gtkconv.c Fri May 25 18:02:53 2012 +0000
@@ -6412,7 +6412,7 @@
gtkconv->last_flags = flags;
- smileyed = smiley_parse_markup(message, purple_account_get_protocol_id(account));
+ smileyed = smiley_parse_markup(displaying, purple_account_get_protocol_id(account)); msg = replace_message_tokens(message_html, conv, name, alias, smileyed, flags, mtime);
escape = gtk_webview_quote_js_string(msg ? msg : "");
script = g_strdup_printf("%s(%s)", func, escape);
--- a/pidgin/gtklog.c Wed May 23 05:01:14 2012 +0000
+++ b/pidgin/gtklog.c Fri May 25 18:02:53 2012 +0000
@@ -465,6 +465,14 @@
webkit_web_view_open(WEBKIT_WEB_VIEW(viewer->web_view), "about:blank");
purple_signal_emit(pidgin_log_get_handle(), "log-displaying", viewer, log);
+ /* plaintext log (html one starts with <html> tag) */ + char *newRead = purple_strreplace(read, "\n", "<br>"); webkit_web_view_load_html_string(WEBKIT_WEB_VIEW(viewer->web_view), read, "");
--- a/pidgin/themes/Contents/Resources/main.css Wed May 23 05:01:14 2012 +0000
+++ b/pidgin/themes/Contents/Resources/main.css Fri May 25 18:02:53 2012 +0000
@@ -1,19 +1,24 @@
.x-status_container .x-time
--- a/pidgin/themes/Template.html Wed May 23 05:01:14 2012 +0000
+++ b/pidgin/themes/Template.html Fri May 25 18:02:53 2012 +0000
@@ -286,22 +286,10 @@
node.parentNode.replaceChild(a, node);
- //Align our chat to the bottom of the window. If true is passed, view will also be scrolled down
+ //If true is passed, view will be scrolled down function alignChat(shouldScroll) {
- var windowHeight = window.innerHeight;
- if (windowHeight > 0) {
- var contentElement = document.getElementById('Chat');
- var heightDifference = (windowHeight - contentElement.offsetHeight);
- if (heightDifference > 0) {
- contentElement.style.position = 'relative';
- contentElement.style.top = heightDifference + 'px';
- contentElement.style.position = 'static';
- if (shouldScroll) scrollToBottom();
window.onresize = function windowDidResize(){
@@ -319,7 +307,7 @@
.actionMessageUserName { display:none; }
.actionMessageBody:before { content:"*"; }
.actionMessageBody:after { content:"*"; }
- * { word-wrap:break-word; text-rendering: optimizelegibility; }
+ * { word-wrap:break-word } img.scaledToFitImage { height: auto; max-width: 100%%; }