From 4e89125c9bec74053f8ddce3051e256f4071bd6a Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Mon, 27 Jul 2009 19:10:24 -0300 Subject: Add printer icons --- hardinfo2/devices.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'hardinfo2/devices.c') diff --git a/hardinfo2/devices.c b/hardinfo2/devices.c index 7fbac390..3ecce794 100644 --- a/hardinfo2/devices.c +++ b/hardinfo2/devices.c @@ -83,7 +83,7 @@ static ModuleEntry entries[] = { static GHashTable *moreinfo = NULL; static GSList *processors = NULL; -static gchar *printer_list = NULL; +static gchar *printer_list = NULL, *printer_icons = NULL; static gchar *pci_list = NULL; static gchar *input_list = NULL; static gchar *storage_list = NULL; @@ -375,9 +375,10 @@ gchar *callback_sensors() gchar *callback_printers() { return g_strdup_printf("%s\n" - "[$ShellParam$]\n" + "[$ShellParam$]\n" "ViewType=1\n" - "ReloadInterval=5000", printer_list); + "ReloadInterval=5000\n" + "%s", printer_list, printer_icons); } gchar *callback_storage() -- cgit v1.2.3