From 19eea41c74154855cb68ee3a1fb41e2ec136b764 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Wed, 3 Mar 2010 10:36:43 +0000 Subject: clean up the 'express' mode hooks for UI Managers and start to extend them to plugins - use a simple one-off boolean on the UI Manager instead of exhaustively trying to propagate this information everywhere. --- e-util/e-plugin-ui.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'e-util/e-plugin-ui.c') diff --git a/e-util/e-plugin-ui.c b/e-util/e-plugin-ui.c index c3b5b0df20..3ca8703d5a 100644 --- a/e-util/e-plugin-ui.c +++ b/e-util/e-plugin-ui.c @@ -16,6 +16,7 @@ */ #include "e-plugin-ui.h" +#include "e-util.h" #include @@ -238,8 +239,8 @@ plugin_ui_hook_merge_ui (EPluginUIHook *hook, ui_definition = g_hash_table_lookup (hash_table, id); g_return_val_if_fail (ui_definition != NULL, 0); - merge_id = gtk_ui_manager_add_ui_from_string ( - ui_manager, ui_definition, -1, &error); + merge_id = e_load_ui_manager_definition_from_string ( + ui_manager, ui_definition, &error); if (error != NULL) { g_warning ("%s", error->message); -- cgit v1.2.3