aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/shell.h
diff options
context:
space:
mode:
authorLeandro A. F. Pereira <leandro@hardinfo.org>2009-05-03 12:24:48 -0300
committerLeandro A. F. Pereira <leandro@hardinfo.org>2009-05-03 12:24:48 -0300
commitefbc771b490d50279b3b9cacfd5f4e9ca8621a68 (patch)
treea28b95408b25c236506b5b4362cdab436591d549 /hardinfo2/shell.h
parent6553dc00fe6d10baaa3b3faaddedace625f90c5a (diff)
Change module.getModuleList(), so it also sends the module's icon filename. Stability fixes to the remote feature.
Diffstat (limited to 'hardinfo2/shell.h')
-rw-r--r--hardinfo2/shell.h7
1 files changed, 4 insertions, 3 deletions
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);