Closed GoogleCodeExporter closed 8 years ago
From what i can gather, the code looks for .png and .xpm icons, if it can't
find either of these in a specified theme then it defaults to the hicolor one.
I ran into the same problem myself using 'ultra-flat-icons'.
I found this attempt at a fix using librsvg although it doesn't take into
account the size of the SVG vs the available space:
https://github.com/ixxra/tint2-svg/commit/aae7a0b1e147f27be182328ce2377da7d91f95
48
Original comment by r...@robbollons.com
on 28 Jan 2015 at 12:52
Original comment by mrovi9...@gmail.com
on 28 Jan 2015 at 2:22
I'll handle this one.
Original comment by mrovi9...@gmail.com
on 28 Jan 2015 at 2:23
SVG support should work in r670.
I used the rsvg library (as in the ixxra's repository, thanks for pointing that
out). However I had trouble converting between the GdkPixbuf that rsvg returns
and the imlib2 format used by tint2 (there were artifacts in the images); the
only solution I found was to save the GdkPixbuf to a temporary PNG file and
load it from disk with imlib2.
I also made improvements to the icon lookup algorithm. If it causes trouble
please let me know.
Original comment by mrovi9...@gmail.com
on 28 Jan 2015 at 2:55
Excellent, that seems to do the job for me - no ill effects as far as i can
tell.
Cheers!
Original comment by r...@robbollons.com
on 28 Jan 2015 at 8:28
Original comment by mrovi9...@gmail.com
on 1 Feb 2015 at 5:50
Original comment by mrovi9...@gmail.com
on 1 Feb 2015 at 11:49
Changed launcher_icon_theme option to work as an override. If not present, we
use xsettings to obtain the current theme or default to hicolor if xsettings
not present.
Thus: to use the current theme, delete/comment launcher_icon_theme in tint2rc.
Final commit in r733.
Original comment by mrovi9...@gmail.com
on 20 Mar 2015 at 9:55
Original issue reported on code.google.com by
execute....@gmail.com
on 27 May 2013 at 2:51Attachments: