soc.2012.gg: 211260ed: New branch for GSoC2012 project: Gadu-Ga...

tomkiewicz at cpw.pidgin.im tomkiewicz at cpw.pidgin.im
Sat May 19 12:42:40 EDT 2012


----------------------------------------------------------------------
Revision: 211260edfa4a35e09f575202bae0b5a626e43ac8
Parent:   7670ce67bc63a5de6e08abc4b4903c12146c4790
Author:   tomkiewicz at cpw.pidgin.im
Date:     05/19/12 12:38:38
Branch:   im.pidgin.soc.2012.gg
URL: http://d.pidgin.im/viewmtn/revision/info/211260edfa4a35e09f575202bae0b5a626e43ac8

Changelog: 

New branch for GSoC2012 project: Gadu-Gadu protocol plugin improvements.

This commit makes trunk usable again - tunning default theme to match legacy Pidgin look&feel.

Changes against parent 7670ce67bc63a5de6e08abc4b4903c12146c4790

  patched  pidgin/themes/Contents/Resources/main.css
  patched  pidgin/themes/Template.html

-------------- next part --------------
============================================================
--- pidgin/themes/Template.html	3da2bbf3eeae509fb346acf7f4c2c1ac87d8522f
+++ pidgin/themes/Template.html	445da2943b17b8319951e3998796f101b309a160
@@ -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';
-				} else {
-					contentElement.style.position = 'static';
-				}
-			}
-
-			if (shouldScroll) scrollToBottom();
+			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%%; }
 	</style>
 
============================================================
--- pidgin/themes/Contents/Resources/main.css	5863b86697145e341b56fe7029ec7bfa3933c4b9
+++ pidgin/themes/Contents/Resources/main.css	31f8640e02dea9e4e8b40ffcc9fa4aca8796926d
@@ -1,19 +1,24 @@ body {
 body {
 	word-wrap: break-word;
 	word-break: break-word;
+	
+	font-size: 13px;
+	margin: 2px;
+	overflow-y: scroll;
 }
 
 .x-container,
 .x-status_container
 {
 	line-height: 1.3em;
-	margin-bottom: 6px;
+	margin-bottom: 4px;
 }
 
 .x-container .x-time,
 .x-status_container .x-time
 {
 	display: inline;
+	font-size: 12px;
 }
 
 .x-container .x-sender


More information about the Commits mailing list