Renamed more-icons-per-row-5x4-flare576
[webos-internals:adamrmcd-modifications.git] / messaging / msg-avatar.patch
1 diff --git a/usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js b/usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js
2 index 4c7cdbe..52563c8 100644
3 --- a/usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js
4 +++ b/usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js
5 @@ -1347,7 +1347,7 @@ var ChatviewAssistant = Class.create({
6                         if (ChatFlags.isOutgoing(msg.flags)) {
7                                 tmpClass.push("my-chat");
8                         // Disabling MY avatar because we are not doing this for 1.0  2008-11-05
9 -                       //msg.avatar = this.myAvatar || 'images/my-avatar.png';
10 +                       msg.avatar = this.myAvatar || 'images/my-avatar.png';
11                         } else {
12                                 tmpClass.push("their-chat");
13                                 msg.avatar = this.avatarHash[msg.fromAddress] || this.contactAvatar || "images/list-view-default-avatar.png";
14 diff --git a/usr/palm/applications/com.palm.app.messaging/stylesheets/messaging.css b/usr/palm/applications/com.palm.app.messaging/stylesheets/messaging.css
15 index 13251fe..b624a0f 100644
16 --- a/usr/palm/applications/com.palm.app.messaging/stylesheets/messaging.css
17 +++ b/usr/palm/applications/com.palm.app.messaging/stylesheets/messaging.css
18 @@ -137,16 +137,11 @@ img.avatar-overlay {
19  }
20  
21  .chatRow img.avatar-location {
22 -       margin-top: -18px;
23 +       margin-top: -39px;
24  }
25  
26  .chatRow img.avatar-overlay {
27 -       margin-top: -21px;
28 -}
29 -
30 -.chatRow .avatar-container {
31 -       vertical-align: middle;
32 -       display: inline-block;
33 +       margin-top: -42.5px;
34  }
35  
36  .login-animation-available,
37 @@ -664,9 +659,7 @@ img.avatar-overlay {
38    padding: 1px 0;
39    font-size: 18px;
40    word-wrap: break-word !important;
41 -}
42 -.their-chat .chat-balloon-wrapper {
43 -       padding-right: 8px;
44 +  padding-right: 40px;
45  }
46  .their-chat .avatar {
47      width: 40px;
48 @@ -675,8 +668,6 @@ img.avatar-overlay {
49  
50  /* Disabling MY avatar because we are not doing this for 1.0  2008-11-05*/
51  .my-chat .avatar-location,
52 -.my-chat .avatar-overlay,
53 -.my-chat .avatar-container {
54         display: none;
55      width: 40px;
56      height: 40px;