diff options
author | Leandro Augusto Fogolin Pereira <leandro@zorg.(none)> | 2009-01-23 13:22:54 -0200 |
---|---|---|
committer | Leandro Augusto Fogolin Pereira <leandro@zorg.(none)> | 2009-01-23 13:22:54 -0200 |
commit | e9cb4135df043c711bb18fb18fbe4ea551dcb645 (patch) | |
tree | f96c42d7cec8b76711f984fdc369d9b91d0480dc /hardinfo2/shell.c | |
parent | cf11ad53b937ab1d55d3f534587bd3eae886174e (diff) |
Add Network module; minor cleanups
Diffstat (limited to 'hardinfo2/shell.c')
-rw-r--r-- | hardinfo2/shell.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/hardinfo2/shell.c b/hardinfo2/shell.c index 8ae2fd3b..90086103 100644 --- a/hardinfo2/shell.c +++ b/hardinfo2/shell.c @@ -720,9 +720,6 @@ info_tree_compare_val_func(GtkTreeModel * model, static void set_view_type(ShellViewType viewtype) { - if (viewtype == shell->view_type) - return; - if (viewtype < SHELL_VIEW_NORMAL || viewtype >= SHELL_VIEW_N_VIEWS) viewtype = SHELL_VIEW_NORMAL; @@ -745,7 +742,6 @@ static void set_view_type(ShellViewType viewtype) /* turn off the save graphic action */ shell_action_set_enabled("SaveGraphAction", FALSE); - switch (viewtype) { default: case SHELL_VIEW_NORMAL: |