From efbc771b490d50279b3b9cacfd5f4e9ca8621a68 Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Sun, 3 May 2009 12:24:48 -0300 Subject: Change module.getModuleList(), so it also sends the module's icon filename. Stability fixes to the remote feature. --- hardinfo2/shell.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'hardinfo2/shell.h') diff --git a/hardinfo2/shell.h b/hardinfo2/shell.h index b1714c77..3cfd7a1e 100644 --- a/hardinfo2/shell.h +++ b/hardinfo2/shell.h @@ -123,6 +123,7 @@ struct _ShellModule { gchar *name; GdkPixbuf *icon; GModule *dll; + gpointer *(*aboutfunc) (); guchar weight; @@ -145,8 +146,8 @@ struct _ShellModuleEntry { void (*scan_func) (); gchar *(*fieldfunc) (gchar * entry); - gchar *(*morefunc) (gchar * entry); - gchar *(*notefunc) (gint entry); + gchar *(*morefunc) (gchar * entry); + gchar *(*notefunc) (gint entry); }; struct _ShellFieldUpdate { @@ -188,7 +189,7 @@ void shell_view_set_enabled(gboolean setting); void shell_clear_timeouts(Shell *shell); void shell_clear_tree_models(Shell *shell); -void shell_reset_title(Shell *shell); +void shell_set_title(Shell *shell, char *subtitle); void shell_add_modules_to_gui(gpointer _shell_module, gpointer _shell_tree); -- cgit v1.2.3