aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/devices.c
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo2/devices.c')
-rw-r--r--hardinfo2/devices.c7
1 files changed, 4 insertions, 3 deletions
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()