Re: [COOT] Coot via Homebrew (Mac M1 2021) error

2022-05-01 Thread Paul Emsley

On 01/05/2022 11:06, Huw Jenkins wrote:



On 1 May 2022, at 01:57, Paul Emsley  wrote:

This was discussed in issue 33 - we don't know what the problem is. But 
interestingly CCP4-pre-built binaries don't show the same problem, so it is 
fixable... it's something to do with Adwaita.

It's a change in icon name I think - version 40.1.1 is latest one that works. 
CCP4 is using older version. AFAICT the relevant commit is:

https://github.com/GNOME/adwaita-icon-theme/commit/3fd29ddda317f073d041370edea0777e58abc715




That seems right - I checked the Adwaita theme used by Homebrew and it 
is the latest.


Part of the problem is that the icon names get translated, so I can't 
look them up in the glade file given the warning message.


I'd done a bit more poking around and I made another "clear" icon, which 
I added to Coot. Homebrew enthusiasts can try it out now with a  rebuild 
from HEAD.



Paul.



To unsubscribe from the COOT list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=COOT=1

This message was issued to members of www.jiscmail.ac.uk/COOT, a mailing list 
hosted by www.jiscmail.ac.uk, terms & conditions are available at 
https://www.jiscmail.ac.uk/policyandsecurity/


Re: [COOT] Coot via Homebrew (Mac M1 2021) error

2022-05-01 Thread Huw Jenkins
> On 1 May 2022, at 01:57, Paul Emsley  wrote:
> 
> This was discussed in issue 33 - we don't know what the problem is. But 
> interestingly CCP4-pre-built binaries don't show the same problem, so it is 
> fixable... it's something to do with Adwaita.

It's a change in icon name I think - version 40.1.1 is latest one that works. 
CCP4 is using older version. AFAICT the relevant commit is:

https://github.com/GNOME/adwaita-icon-theme/commit/3fd29ddda317f073d041370edea0777e58abc715


Huw 



To unsubscribe from the COOT list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=COOT=1

This message was issued to members of www.jiscmail.ac.uk/COOT, a mailing list 
hosted by www.jiscmail.ac.uk, terms & conditions are available at 
https://www.jiscmail.ac.uk/policyandsecurity/


Re: [COOT] Coot via Homebrew (Mac M1 2021) error

2022-04-30 Thread Paul Emsley

On 29/04/2022 23:12, Rita wrote:

Hello,

I installed Coot via Homebrew following Scott's web page instructions. I can 
execute Coot, and open a map but I cannot zoom in/out. When I check the 
terminal the following messages pop out:

(coot-bin:16044): Gtk-WARNING **: 15:08:27.275: Error loading theme icon 
'edit-clear' for stock:

(coot-bin:16044): Gtk-WARNING **: 15:08:27.278: Error loading theme icon 
'edit-delete' for stock: Icon 'edit-delete' not present in theme Adwaita

(coot-bin:16044): Gtk-WARNING **: 15:08:27.281: Error loading theme icon 
'media-playback-start' for stock:

(coot-bin:16044): Gtk-WARNING **: 15:08:43.913: Error loading theme icon 
'edit-delete' for stock: Icon 'edit-delete' not present in theme Adwaita

(coot-bin:16044): Gtk-WARNING **: 15:08:43.915: Error loading theme icon 
'media-playback-start' for stock:

(coot-bin:16044): Gtk-WARNING **: 15:08:44.041: Error loading theme icon 
'edit-clear' for stock:

(coot-bin:16044): Gtk-WARNING **: 15:08:44.078: Error loading theme icon 
'edit-clear' for stock:

(coot-bin:16044): Gtk-WARNING **: 15:08:44.124: Error loading theme icon 
'edit-clear' for stock:


Any idea of how to fix this?



This was discussed in issue 33 - we don't know what the problem is. But 
interestingly CCP4-pre-built binaries don't show the same problem, so it 
is fixable... it's something to do with Adwaita.


This might work:

$ gtk-update-icon-cache /usr/local/share/icons/Adwaita

The trick is to get gtk-update-icon-cache.

Paul.



To unsubscribe from the COOT list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=COOT=1

This message was issued to members of www.jiscmail.ac.uk/COOT, a mailing list 
hosted by www.jiscmail.ac.uk, terms & conditions are available at 
https://www.jiscmail.ac.uk/policyandsecurity/