From a2309cd30ce4378c6255d32db76cfe0d2a79e836 Mon Sep 17 00:00:00 2001 From: Leandro Pereira Date: Mon, 4 Jan 2010 01:08:00 -0200 Subject: Add a ShellModule pointer to the Shell that points to the currently-selected module. --- hardinfo2/shell.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hardinfo2/shell.h') diff --git a/hardinfo2/shell.h b/hardinfo2/shell.h index 7f31c14c..a3bb6033 100644 --- a/hardinfo2/shell.h +++ b/hardinfo2/shell.h @@ -57,7 +57,8 @@ typedef enum { typedef enum { TREE_COL_PBUF, TREE_COL_NAME, - TREE_COL_DATA, + TREE_COL_MODULE_ENTRY, + TREE_COL_MODULE, TREE_COL_SEL, TREE_NCOL } ShellTreeColumns; @@ -82,6 +83,7 @@ struct _Shell { ShellTree *tree; ShellInfoTree *info, *moreinfo; + ShellModule *selected_module; ShellModuleEntry *selected; ShellNote *note; LoadGraph *loadgraph; @@ -96,8 +98,6 @@ struct _Shell { gint _pulses; ShellOrderType _order_type; - gchar *selected_module_name; - GKeyFile *hosts; HelpViewer *help_viewer; }; -- cgit v1.2.3