when renaming folder, only update summaryview folder name if the current folder is being renamed
patch by Olivier Brunel
This commit is contained in:
parent
ce16e266f5
commit
deb42e32ff
1 changed files with 2 additions and 1 deletions
|
@ -8081,7 +8081,8 @@ static gboolean summary_update_folder_item_hook(gpointer source, gpointer data)
|
|||
cm_return_val_if_fail(hookdata->item != NULL, FALSE);
|
||||
cm_return_val_if_fail(summaryview != NULL, FALSE);
|
||||
|
||||
if (hookdata->update_flags & F_ITEM_UPDATE_NAME) {
|
||||
if (hookdata->item == summaryview->folder_item &&
|
||||
hookdata->update_flags & F_ITEM_UPDATE_NAME) {
|
||||
gchar *name = folder_item_get_name(hookdata->item);
|
||||
gtk_label_set_text(GTK_LABEL(summaryview->statlabel_folder), name);
|
||||
g_free(name);
|
||||
|
|
Loading…
Reference in a new issue