diff options
Diffstat (limited to 'modules/devices.c')
-rw-r--r-- | modules/devices.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/devices.c b/modules/devices.c index 1c3253e4..cbc01dae 100644 --- a/modules/devices.c +++ b/modules/devices.c @@ -75,6 +75,7 @@ void scan_dtree(gboolean reload); void scan_device_resources(gboolean reload); gboolean root_required_for_resources(void); +gboolean spd_decode_show_hinote(const char**); gchar *hi_more_info(gchar *entry); @@ -833,5 +834,11 @@ const gchar *hi_note_func(gint entry) return g_strdup(_("Resource information requires superuser privileges")); } } + else if (entry == ENTRY_SPD){ + const char *msg; + if (spd_decode_show_hinote(&msg)) { + return msg; + } + } return NULL; } |