diff options
author | Leandro Pereira <leandro@hardinfo.org> | 2010-01-04 01:08:00 -0200 |
---|---|---|
committer | Leandro Pereira <leandro@hardinfo.org> | 2010-01-04 01:08:00 -0200 |
commit | a2309cd30ce4378c6255d32db76cfe0d2a79e836 (patch) | |
tree | 47ece23b30de75624316aa330853d4085e537524 /hardinfo2/shell.h | |
parent | 1e1a647f6fb643163b34604d35e15a1341be007e (diff) |
Add a ShellModule pointer to the Shell that points to the currently-selected module.
Diffstat (limited to 'hardinfo2/shell.h')
-rw-r--r-- | hardinfo2/shell.h | 6 |
1 files changed, 3 insertions, 3 deletions
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; }; |