Translations User D-L (caa3e868) at 18 Mar 17:30
Update Slovenian translation
Alberts Muktupāvels (53093609) at 17 Mar 23:03
menu: avoid GThemedIcon
Looks like mentioned regression can be workaround-ed. We can get filename for GtkIconInfo
and then we can create new GIcon
with g_file_icon_new
. Seems to work work in quick test but that also means we need to manually react to theme changes as minimum.
GThemedIcon now always appends symbolic icons. This means that even if themed icon was created with single non-symbolic icon name it will return two icons - original icon and symbolic icon. Then GTK will choose one or other in current theme without looking in fallback themes.
Alberts Muktupāvels (01b19cc6) at 17 Mar 18:57
menu: manually load GThemedIcon
Translations User D-L (ee92d54f) at 17 Mar 18:36
Update Swedish translation
Alberts Muktupāvels (d014fc5b) at 17 Mar 15:56
util: fix memory leak in guess_icon_from_exec
Please change back to append, we will need fix code to choose correct icon.
Alberts Muktupāvels (84b456ef) at 17 Mar 15:17
data: move icons in subdirectory
Translations User D-L (3adbc591) at 17 Mar 06:54
Update Ukrainian translation
Translations User D-L (c3ec84bb) at 16 Mar 23:18
Update Czech translation
When panel height is 24px (which is the default) or 25px, the System Indicators applet is using 16px icons which are too small. See the first four icons on the screenshot. Only with height ≥ 26px it starts using larger icons (22px).
It would be nice to allow using sizes between 16px and 22px (as most icons are SVG anyway), or make spacing configurable.
Alberts Muktupāvels (d4ebb387) at 16 Mar 21:23
widget: Make the icon spacing configurable
Having value 4 is too large for the default panel with size 24px, but value 0 would be too small for a larger panel. Add a new "panel-icon-spacing" setting to allow users to configure for their needs.
Closes: #20
Okay, I reverted it, however I think the default value (2×2) is too large for the default panel layout, because it causes 16×16 icons as reported here: #20 (closed)
It would better to set it to 1×2 to have 22×22 icons, or 0×2 to have 24×24 icons.
Done.
We cannot use the hicolor
icon theme, because the -symbolic
variants will be loaded from the Adwaita icon theme instead of the fullcolor icons from hicolor
as we discussed here:
We should install icons in /icons/hicolor
, no?
Appending the path does not work, because the index.theme
file from Adwaita defines only 16x16/*
and symbolic/*
directories:
https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/blob/b6fbbd75a6851b6d6633fb97b61d4989b627b595/index.theme#L23-24
So even if we add the icons for sizes 22x22, 24x24, 32x32, 48x48, they will be ignored, and the 16x16 icons will be loaded. So we have to override the index.theme
file from Adwaita to make things work. This is why prepend
is needed instead of append
.