From a5913055316b1d2efe05435db3ed78898e8042d9 Mon Sep 17 00:00:00 2001 From: Lars Uebernickel Date: Thu, 23 May 2013 09:04:13 -0400 Subject: Depend on ido and call ido_init() in indicator-loader Ido provides the custom menu items that indicator services request. ido_init() registers those items with gtk+, so that they'll be created from gtk_menu_new_from_model(). --- tools/indicator-loader.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools') diff --git a/tools/indicator-loader.c b/tools/indicator-loader.c index 5659dea..ca34bf0 100644 --- a/tools/indicator-loader.c +++ b/tools/indicator-loader.c @@ -24,6 +24,7 @@ License along with this library. If not, see #include #include +#include #if GTK_MAJOR_VERSION == 3 #include @@ -211,6 +212,7 @@ main (int argc, char ** argv) g_unsetenv("UBUNTU_MENUPROXY"); gtk_init(&argc, &argv); + ido_init (); entry_to_menuitem = g_hash_table_new (g_direct_hash, g_direct_equal); -- cgit v1.2.3