Skip to content

Commit 0c78063

Browse files
author
raveit65
committed
reload: ensure that pending updates to UI are complete
The plugin tries to remove the menuentry from menu during closing eom. Using gtk_ui_manager_ensure_update () function to make sure that all pending updates to the UI have been completed. fixes #145
1 parent 20d704b commit 0c78063

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plugins/reload/eom-reload-plugin.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,8 @@ eom_reload_plugin_deactivate (PeasActivatable *activatable)
141141
gtk_ui_manager_remove_ui (manager, plugin->ui_id);
142142

143143
gtk_ui_manager_remove_action_group (manager, plugin->ui_action_group);
144+
145+
gtk_ui_manager_ensure_update (manager);
144146
}
145147

146148
static void

0 commit comments

Comments
 (0)