aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-attachment-button.c
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-attachment-button.c')
-rw-r--r--e-util/e-attachment-button.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/e-util/e-attachment-button.c b/e-util/e-attachment-button.c
index 74d6dc4af8..a04b85db38 100644
--- a/e-util/e-attachment-button.c
+++ b/e-util/e-attachment-button.c
@@ -211,25 +211,28 @@ exit:
static void
attachment_button_update_pixbufs (EAttachmentButton *button)
{
+ GtkIconTheme *icon_theme;
GtkCellLayout *cell_layout;
GtkCellRenderer *renderer;
GdkPixbuf *pixbuf_expander_open;
GdkPixbuf *pixbuf_expander_closed;
GList *list;
+ icon_theme = gtk_icon_theme_get_default ();
+
/* Grab the first cell renderer. */
cell_layout = GTK_CELL_LAYOUT (button->priv->cell_view);
list = gtk_cell_layout_get_cells (cell_layout);
renderer = GTK_CELL_RENDERER (list->data);
g_list_free (list);
- pixbuf_expander_open = gtk_widget_render_icon (
- GTK_WIDGET (button), GTK_STOCK_GO_DOWN,
- GTK_ICON_SIZE_BUTTON, NULL);
+ pixbuf_expander_open = gtk_icon_theme_load_icon (
+ icon_theme, "go-down",
+ GTK_ICON_SIZE_BUTTON, 0, NULL);
- pixbuf_expander_closed = gtk_widget_render_icon (
- GTK_WIDGET (button), GTK_STOCK_GO_FORWARD,
- GTK_ICON_SIZE_BUTTON, NULL);
+ pixbuf_expander_closed = gtk_icon_theme_load_icon (
+ icon_theme, "go-next",
+ GTK_ICON_SIZE_BUTTON, 0, NULL);
g_object_set (
renderer,