[Users] compose message - double hight To/Cc/Bcc

Dave Howorth dave at howorth.org.uk
Fri Apr 19 16:48:30 UTC 2024


On Fri, 19 Apr 2024 17:32:18 +0100
Dave Howorth <dave at howorth.org.uk> wrote:

> On Fri, 19 Apr 2024 11:59:30 -0000
> Paul <paul at claws-mail.org> wrote:
> 
> > On Fri, 19 Apr 2024 12:01:45 +0100
> > Dave Howorth <dave at howorth.org.uk> wrote: 
> >   
> > > "If you specify `icon-name` as the name, then the icon will be
> > > matched to the current icon theme name, and to the size specified
> > > when looking up the icon—using
> > > [`gtk_icon_theme_lookup_icon()`](https://docs.gtk.org/gtk4/method.IconTheme.lookup_icon.html).
> > > In absence of an explicit size, like
> > > [`gtk_image_set_pixel_size()`](https://docs.gtk.org/gtk4/method.Image.set_pixel_size.html)
> > > the size is computed by the style.
> > > 
> > > "The `-symbolic` bit is a separate GTK extension that hasn't been
> > > codified in the specification; it's a suffix, so if you select
> > > `icon-name-symbolic` you'll get the symbolic icon if it exists,
> > > and if it doesn't you'll get `icon-name`."    
> > 
> > You referenced gtk4 docs, but we're using gtk3.
> > 
> > We are not using GtkIconTheme, we're using GtkImage,
> > (gtk_image_new_from_icon_name()).
> > 
> > What a (GTK) mess!  
> 
> Response from Emmanuele:
> 
> "The behaviour is the same in both GTK3 and GTK4: icon name resolution
> hasn't changed across major versions."
> 
> The document he referenced was from 2013, when I think GTK3 was
> mainline. Has anybody tried adding "-symbolic" to the name?

Just to add a quote from
https://developer.gnome.org/documentation/tutorials/themed-icons.html

"Passing an icon name like “pan-start-symbolic” to GTK functions like
gtk_image_set_from_icon_name() will automatically do the right thing."

Dave
 
> > with regards
> > 
> > Paul


More information about the Users mailing list