diff options
author | bp0 <pburt0@gmail.com> | 2017-07-24 20:06:22 -0500 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2017-07-24 18:06:22 -0700 |
commit | f3574dd0ce47235121fe5da8cfdc20a6e451f361 (patch) | |
tree | f7ad2e7449d97c9ecb775efd0ce14cd84a937972 /shell/shell.c | |
parent | 590cb7c3de5664ad424a94d361be6db02f0329cd (diff) |
Reset sort order on set_view_type() (#111)
* Reset sort order on set_view_type()
Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'shell/shell.c')
-rw-r--r-- | shell/shell.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/shell.c b/shell/shell.c index 153b00b3..62719d78 100644 --- a/shell/shell.c +++ b/shell/shell.c @@ -897,6 +897,7 @@ static void set_view_type(ShellViewType viewtype, gboolean reload) shell->normalize_percentage = TRUE; shell->view_type = viewtype; + shell->_order_type = SHELL_ORDER_DESCENDING; /* use an unsorted tree model */ GtkTreeSortable *sortable = GTK_TREE_SORTABLE(shell->info->model); |