After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 729999 - fix rtl variants for symbolic icons
fix rtl variants for symbolic icons
Status: RESOLVED FIXED
Product: adwaita-icon-theme
Classification: Core
Component: symbolic
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Jakub Steiner
Depends on:
Blocks: 729980
 
 
Reported: 2014-05-12 09:45 UTC by Matthias Clasen
Modified: 2014-05-14 00:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
provide rtl and ltr variants of pan icons (2.07 KB, patch)
2014-05-13 12:48 UTC, Jakub Steiner
committed Details | Review

Description Matthias Clasen 2014-05-12 09:45:35 UTC
I want to make GtkIconTheme deal automatically with rtl variants. For that to work, I need symbolic variants to be named foo-symbolic-rtl instead of foo-rtl-symbolic, as it is now.

I also wonder why the rtl/ltr variants for symbolic icons don't quite match what we do for non-symbolic ones. I don't see any symlinks, and much fewer ltr names.
Comment 1 Matthias Clasen 2014-05-12 10:27:28 UTC
hold off on this for now, still working out the kinks in the gtk patch
Comment 2 Jakub Steiner 2014-05-12 22:56:57 UTC
The reason why you don't see symlinks for symbolic is that they are clones on the master svg sheet instead. Is there a benefit to doing symlinks?
Comment 3 Matthias Clasen 2014-05-13 00:45:53 UTC
no big advantage, the space savings are minimal since we're not including the image data for svgs in the cache.

I've now pushed the patch that will make gtk look for -symbolic-rt instead of -rtl-symbolic to the wip/css-icons branch. 

I'll ping you when it lands on master, so we can get the icons renamed.
Comment 4 Jakub Steiner 2014-05-13 12:48:09 UTC
Created attachment 276450 [details] [review]
provide rtl and ltr variants of pan icons

- use symbolic links instead of SVG clones because of the
  suffix logic (-symbolic is at the end)
Comment 5 Matthias Clasen 2014-05-13 15:01:37 UTC
Looks good, except for the commit message seems to be confused: -rtl is at the end, not -symbolic.

Also, don't forget to give all the other -rtl-symbolic icons the same treatment.
Comment 6 Jakub Steiner 2014-05-14 00:19:00 UTC
Attachment 276450 [details] pushed as 28d80bd - provide rtl and ltr variants of pan icons