Skip to content
Permalink
Browse files

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
  • Loading branch information...
raveit65 committed Jul 7, 2018
1 parent 92142b6 commit 433c776b757c5cc909d6e614ebf39dbff9379320
Showing with 2 additions and 0 deletions.
  1. +2 −0 plugins/reload/eom-reload-plugin.c
@@ -141,6 +141,8 @@ eom_reload_plugin_deactivate (PeasActivatable *activatable)
gtk_ui_manager_remove_ui (manager, plugin->ui_id);

gtk_ui_manager_remove_action_group (manager, plugin->ui_action_group);

gtk_ui_manager_ensure_update (manager);
}

static void

0 comments on commit 433c776

Please sign in to comment.
You can’t perform that action at this time.