I am writing a Gedit plugin and created an icon for it as SVG (which of course can be exported to any format). How could I configure this plugin to show this icon in the plugin listing in Edit > Preferences > Plugins dialog?
I am writing a Gedit plugin and created an icon for it as SVG
Share
The .plugin file accepts an
Iconfield — as in this example:Taken from the TextWrap plugin source.
To add a custom icon to an existing icon theme, place it in the appropriate folder — i.e.
as ptomato suggests, (where
$prefixis probably/usrif you use linux) and then runIf the icon filename is
gedit-plug.svg, it should now be available asgedit-plug. Note that I actually tested this on thegnometheme, rather than thehicolortheme.