Comment 4 for bug 1738518

Revision history for this message
Mohammadreza Abdollahzadeh (morealaz) wrote :

I install github version of calibre and we add calibre-tray icon to papirus icon theme (https://github.com/PapirusDevelopmentTeam/papirus-icon-theme/issues/1015) but, tray icon still is the same as before (calibre-gui). I check calibre code and see these lines in /usr/lib/calibre/calibre/gui2/ui.py file:

if self.system_tray_icon is not None:
   self.system_tray_icon.setIcon(QIcon(I('lt.png', allow_user_override=False)))
   if not (iswindows or isosx):
       self.system_tray_icon.setIcon(QIcon.fromTheme('calibre-gui', self.system_tray_icon.icon()))

I think these lines must be changed!!!