app: fix image-window UI-manager update while a projection is being rendered

Set the priority of the image window's UI-manager update idle
slightly higher than the projection idle priority, so that the
image actions are updated during projection rendering.

(cherry picked from commit 50aaeef6a0)
This commit is contained in:
Ell
2019-03-30 19:24:00 -04:00
parent 191c9812f3
commit 1cdd32955e
2 changed files with 8 additions and 3 deletions

View File

@ -78,6 +78,8 @@
#include "gimpstatusbar.h"
#include "gimp-log.h"
#include "gimp-priorities.h"
#include "gimp-intl.h"
@ -1924,8 +1926,10 @@ gimp_image_window_update_ui_manager (GimpImageWindow *window)
if (! private->update_ui_manager_idle_id)
{
private->update_ui_manager_idle_id =
g_idle_add ((GSourceFunc) gimp_image_window_update_ui_manager_idle,
window);
g_idle_add_full (GIMP_PRIORITY_IMAGE_WINDOW_UPDATE_UI_MANAGER_IDLE,
(GSourceFunc) gimp_image_window_update_ui_manager_idle,
window,
NULL);
}
}