Commit 80c5a32c authored by Lubomir Rintel's avatar Lubomir Rintel Committed by Milan Crha
Browse files

Bug 720197 - [IMAPx] Indefinite waiting for message download ][

parent d7b06216
......@@ -125,8 +125,8 @@ model_changed_idle (ETableSelectionModel *etsm)
g_free (save_id);
}
free_hash (etsm);
e_selection_model_cursor_changed (E_SELECTION_MODEL (etsm), cursor_row, cursor_col);
e_selection_model_selection_changed (E_SELECTION_MODEL (etsm));
e_selection_model_cursor_changed (E_SELECTION_MODEL (etsm), cursor_row, cursor_col);
}
etsm->model_changed_idle_id = 0;
return FALSE;
......
......@@ -5146,7 +5146,7 @@ on_selection_changed_cmd (ETree *tree,
* is also used for other updating. If it is empty, it might just be a setup event
* from etree which we do need to ignore */
if ((newuid == NULL && message_list->cursor_uid == NULL && selected_count == 0) ||
(message_list->last_sel_single && selected_count == 1 && newuid != NULL && message_list->cursor_uid != NULL && !strcmp (message_list->cursor_uid, newuid))) {
(message_list->last_sel_single && selected_count == 1 && message_list->cursor_uid != NULL && (newuid == NULL || !strcmp (message_list->cursor_uid, newuid)))) {
/* noop */
} else {
g_free (message_list->cursor_uid);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment