Skip to content

Commit

Permalink
reload: ensure that pending updates to UI are complete
Browse files Browse the repository at this point in the history
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 8, 2018
1 parent 20d704b commit 0c78063
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/reload/eom-reload-plugin.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0c78063

Please sign in to comment.