[gtk+/wip/colorchooser-v2: 48/84] color-swatch: don't hardcode list-add-symbolic as swatch icon
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/colorchooser-v2: 48/84] color-swatch: don't hardcode list-add-symbolic as swatch icon
- Date: Tue, 14 Feb 2012 19:08:52 +0000 (UTC)
commit fa749d54fec98326086378bf168c99a652bc05fd
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Feb 8 16:51:01 2012 -0500
color-swatch: don't hardcode list-add-symbolic as swatch icon
We have that as a property, we should use it.
gtk/gtkcolorswatch.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcolorswatch.c b/gtk/gtkcolorswatch.c
index 884397f..3c82ba9 100644
--- a/gtk/gtkcolorswatch.c
+++ b/gtk/gtkcolorswatch.c
@@ -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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]