From 11b8179a57e675c6672cbe649c655230ae3e9744 Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Mon, 19 Jun 2017 14:38:41 -0500 Subject: Import Upstream version 0.4.2.1 --- stock.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'stock.c') diff --git a/stock.c b/stock.c index 34aea2e9..438dfa38 100644 --- a/stock.c +++ b/stock.c @@ -1,6 +1,6 @@ /* * HardInfo - Displays System Information - * Copyright (C) 2003-2006 Leandro A. F. Pereira + * Copyright (C) 2003-2007 Leandro A. F. Pereira * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -16,6 +16,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include #include #include #include @@ -24,7 +25,12 @@ static struct { gchar *filename; gchar *stock_id; } stock_icons[] = { - { "report.png", HI_STOCK_REPORT} + { "report.png", HI_STOCK_REPORT }, + { "internet.png", HI_STOCK_INTERNET }, + { "module.png", HI_STOCK_MODULE }, + { "about-modules.png", HI_STOCK_ABOUT_MODULES }, + { "syncmanager-small.png", HI_STOCK_SYNC_MENU }, + { "face-grin.png", HI_STOCK_DONATE }, }; static GtkIconFactory *icon_factory; @@ -68,6 +74,8 @@ void stock_icons_init(void) gint i; guint n_stock_icons = G_N_ELEMENTS(stock_icons); + DEBUG("initializing stock icons"); + icon_factory = gtk_icon_factory_new(); for (i = 0; i < n_stock_icons; i++) { -- cgit v1.2.3