Browse Source

Merge pull request #1531 from wolv-dev/fix/1495_gmail_refresh

[FIX][#1495] Changed gmail url to labs=0 to fix refreh error, replace…
pull/1617/head
Ramiro Saenz 7 years ago committed by GitHub
parent
commit
2bba1287c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/store/ServicesList.js
  2. BIN
      resources/icons/gmail.png

2
app/store/ServicesList.js

@ -113,7 +113,7 @@ Ext.define('Rambox.store.ServicesList', {
,logo: 'gmail.png' ,logo: 'gmail.png'
,name: 'Gmail' ,name: 'Gmail'
,description: locale['services[9]'] ,description: locale['services[9]']
,url: 'https://mail.google.com/mail/' ,url: 'https://mail.google.com/mail/?labs=0'
,type: 'email' ,type: 'email'
,allow_popups: true ,allow_popups: true
,js_unread: 'function checkUnread(){var a=document.getElementsByClassName("aim")[0];updateBadge(-1!=a.textContent.indexOf("(")&&(t=parseInt(a.textContent.replace(/[^0-9]/g,""))))}function updateBadge(a){a>=1?rambox.setUnreadCount(a):rambox.clearUnreadCount()}setInterval(checkUnread,3e3);' ,js_unread: 'function checkUnread(){var a=document.getElementsByClassName("aim")[0];updateBadge(-1!=a.textContent.indexOf("(")&&(t=parseInt(a.textContent.replace(/[^0-9]/g,""))))}function updateBadge(a){a>=1?rambox.setUnreadCount(a):rambox.clearUnreadCount()}setInterval(checkUnread,3e3);'

BIN
resources/icons/gmail.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 9.3 KiB

Loading…
Cancel
Save