diff -ur sage-local/chrome/content/commonfunc.js sage-local~/chrome/content/commonfunc.js --- sage-local/chrome/content/commonfunc.js 2006-05-08 22:26:24.000000000 +0900 +++ sage-local~/chrome/content/commonfunc.js 2006-04-15 19:08:38.000000000 +0900 @@ -395,18 +395,12 @@ CommonFunc.UNREAD_COUNT_PREFIX + feed.getSignature(), "int", newItemCount); - - var fullTitle = CommonFunc.getBMDSProperty(resource, CommonFunc.BM_NAME); - - if ( CommonFunc.getPrefValue(CommonFunc.SHOW_UNREAD_COUNT, "bool", true) && newItemCount > 0 ) + + var fullTitle = feed.getTitle(); + if ( CommonFunc.getPrefValue(CommonFunc.SHOW_UNREAD_COUNT, "bool", true) && + newItemCount > 0 ) { - if ( fullTitle.match(/.+\(\d+\)/) ) { // Strip previous item count - fullTitle = fullTitle.substring( 0, fullTitle.lastIndexOf('(') ); - } - if ( fullTitle.charAt(fullTitle.length - 1) != ' ' ) { - fullTitle += ' '; - } - fullTitle += "("+ newItemCount +")"; + fullTitle += " ("+ newItemCount +")"; } CommonFunc.setBMDSProperty(resource, CommonFunc.BM_NAME, fullTitle); diff -ur sage-local/chrome/content/sage.js sage-local~/chrome/content/sage.js --- sage-local/chrome/content/sage.js 2006-05-08 22:26:24.000000000 +0900 +++ sage-local~/chrome/content/sage.js 2006-04-15 19:08:38.000000000 +0900 @@ -512,11 +512,10 @@ if (CommonFunc.getBMDSProperty(lastResource.res, CommonFunc.BM_NAME) != title) { CommonFunc.setBMDSProperty(lastResource.res, CommonFunc.BM_NAME, title); } - + + CommonFunc.updateUnreadItemCount(aFeed, lastResource.res); } - CommonFunc.updateUnreadItemCount(aFeed, lastResource.res); - BMSVC.updateLastVisitedDate(lastResource.url, "UTF-8"); CommonFunc.setBMDSProperty(lastResource.res, CommonFunc.BM_DESCRIPTION, CommonFunc.STATUS_NO_UPDATE + " [" + currentFeed.getSignature() + "]"); } diff -ur sage-local/chrome/locale/de-AT/sage.dtd sage-local~/chrome/locale/de-AT/sage.dtd --- sage-local/chrome/locale/de-AT/sage.dtd 2006-05-08 22:26:24.000000000 +0900 +++ sage-local~/chrome/locale/de-AT/sage.dtd 2006-04-15 19:08:38.000000000 +0900 @@ -19,7 +19,6 @@ - @@ -48,8 +47,6 @@ - - diff -ur sage-local/chrome/locale/de-CH/sage.dtd sage-local~/chrome/locale/de-CH/sage.dtd --- sage-local/chrome/locale/de-CH/sage.dtd 2006-05-08 22:26:24.000000000 +0900 +++ sage-local~/chrome/locale/de-CH/sage.dtd 2006-04-15 19:08:38.000000000 +0900 @@ -19,7 +19,6 @@ - @@ -48,8 +47,6 @@ - - diff -ur sage-local/chrome/locale/de-DE/sage.dtd sage-local~/chrome/locale/de-DE/sage.dtd --- sage-local/chrome/locale/de-DE/sage.dtd 2006-05-08 22:26:24.000000000 +0900 +++ sage-local~/chrome/locale/de-DE/sage.dtd 2006-04-15 19:08:38.000000000 +0900 @@ -19,7 +19,6 @@ - @@ -48,8 +47,6 @@ - - diff -ur sage-local/chrome/locale/es-ES/sage.dtd sage-local~/chrome/locale/es-ES/sage.dtd --- sage-local/chrome/locale/es-ES/sage.dtd 2006-05-08 22:26:24.000000000 +0900 +++ sage-local~/chrome/locale/es-ES/sage.dtd 2006-04-15 19:08:38.000000000 +0900 @@ -19,7 +19,6 @@ - @@ -48,8 +47,6 @@ - - diff -ur sage-local/chrome/locale/fr-FR/sage.dtd sage-local~/chrome/locale/fr-FR/sage.dtd --- sage-local/chrome/locale/fr-FR/sage.dtd 2006-05-08 22:26:24.000000000 +0900 +++ sage-local~/chrome/locale/fr-FR/sage.dtd 2006-04-15 19:08:38.000000000 +0900 @@ -19,7 +19,6 @@ - @@ -49,7 +48,6 @@ - diff -ur sage-local/chrome/locale/ja-JP/sage.dtd sage-local~/chrome/locale/ja-JP/sage.dtd --- sage-local/chrome/locale/ja-JP/sage.dtd 2006-05-10 13:47:21.989581551 +0900 +++ sage-local~/chrome/locale/ja-JP/sage.dtd 2006-04-15 19:08:38.000000000 +0900 @@ -19,7 +19,6 @@ - @@ -48,8 +47,6 @@ - -