color-swatch: don't hardcode list-add-symbolic as swatch icon

We have that as a property, we should use it.
This commit is contained in:
Cosimo Cecchi 2012-02-08 16:51:01 -05:00 committed by Matthias Clasen
parent 83de34882b
commit a9c2a586b1

View File

@ -184,7 +184,7 @@ swatch_draw (GtkWidget *widget,
if (swatch->priv->icon)
{
icon_info = gtk_icon_theme_lookup_icon (theme, "list-add-symbolic", 16,
icon_info = gtk_icon_theme_lookup_icon (theme, swatch->priv->icon, 16,
GTK_ICON_LOOKUP_GENERIC_FALLBACK
| GTK_ICON_LOOKUP_USE_BUILTIN);
}