Commit 369a01b0 authored by Milan Crha's avatar Milan Crha

Destroy associated activity before Folder Properties dialog is shown

Thus it'll not be shown in the status bar until the dialog is closed.
parent e9a1508c
......@@ -1283,6 +1283,10 @@ emfp_prepare_dialog_data_done (gpointer ptr)
g_return_if_fail (context != NULL);
/* Destroy the activity before the dialog is shown, otherwise
it's on the status bar until the dialog is closed. */
g_clear_object (&context->activity);
if (context->folder && !context->cancelled)
emfp_dialog_run (context);
......
Markdown is supported
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