Bug 1519044 - Bug 1466782 follow-up: fix incorrect 'unread column' name. r=alta88 a=jorgk
authorJorg K <jorgk@jorgk.com>
Fri, 11 Jan 2019 09:50:24 +0100
changeset 33938 288a64bc4e709686ca1390a2319fd194347b3d38
parent 33937 0fdc3179087f0d2982335da5667547c000488bf1
child 33939 86a575e521b82f34285c6c6566c9e933d468a010
push id388
push userclokep@gmail.com
push dateMon, 28 Jan 2019 20:54:56 +0000
reviewersalta88, jorgk
bugs1519044, 1466782
Bug 1519044 - Bug 1466782 follow-up: fix incorrect 'unread column' name. r=alta88 a=jorgk
mailnews/base/src/nsMsgDBView.cpp
--- a/mailnews/base/src/nsMsgDBView.cpp
+++ b/mailnews/base/src/nsMsgDBView.cpp
@@ -1969,17 +1969,17 @@ nsMsgDBView::GetCellValue(int32_t aRow,
                             u"messageExpanded" :
                             u"messageCollapsed"));
             aValue.Assign(tmp_str);
           }
         }
       }
       break;
     case 'u':
-      if (colID.EqualsLiteral("unreadCol") &&
+      if (colID.EqualsLiteral("unreadButtonColHeader") &&
           !(flags & nsMsgMessageFlags::Read))
       {
         nsString tmp_str;
         tmp_str.Adopt(GetString(u"messageUnread"));
         aValue.Assign(tmp_str);
       }
       break;
     default: