Revision 3288 src/mainwindow.c

View differences:

mainwindow.c
2708 2708
		if (item->id == -1)
2709 2709
			continue;
2710 2710

  
2711
		if (ditem->stock_id) {
2712
			icon_wid = gtk_image_new_from_stock
2713
				(ditem->stock_id, GTK_ICON_SIZE_LARGE_TOOLBAR);
2714
		} else
2715
			icon_wid = stock_pixbuf_widget(NULL, ditem->icon);
2716

  
2711
		icon_wid = stock_pixbuf_widget_for_toolbar(ditem->icon);
2717 2712
		toolitem = gtk_tool_button_new(icon_wid, gettext(ditem->label));
2718 2713
		if (ditem->description) {
2719 2714
			gtk_tool_item_set_tooltip(toolitem,

Also available in: Unified diff