diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2013-10-04 09:16:40 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2013-10-04 09:16:40 +0000 |
commit | fd5c980f1770aa74b9d4dd2ecdbaeb5abbb7b8de (patch) | |
tree | 56c86b7a645beeb23b8036b0f1952dcb4b7ec123 /src/mainwindow.c | |
parent | 20e1d21eecd0c3ab6312ee9ba635427607d7837c (diff) |
made the rest of toolbar icons themeable.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3288 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/mainwindow.c')
-rw-r--r-- | src/mainwindow.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c index d72b1a22..3995c322 100644 --- a/src/mainwindow.c +++ b/src/mainwindow.c @@ -2708,12 +2708,7 @@ static GtkWidget *main_window_toolbar_create_from_list(MainWindow *mainwin, if (item->id == -1) continue; - if (ditem->stock_id) { - icon_wid = gtk_image_new_from_stock - (ditem->stock_id, GTK_ICON_SIZE_LARGE_TOOLBAR); - } else - icon_wid = stock_pixbuf_widget(NULL, ditem->icon); - + icon_wid = stock_pixbuf_widget_for_toolbar(ditem->icon); toolitem = gtk_tool_button_new(icon_wid, gettext(ditem->label)); if (ditem->description) { gtk_tool_item_set_tooltip(toolitem, |