aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2013-05-23 09:04:13 -0400
committerLars Uebernickel <lars.uebernickel@canonical.com>2013-05-23 09:04:13 -0400
commita5913055316b1d2efe05435db3ed78898e8042d9 (patch)
tree46ae31358b6b0d4a209bb60c6ae09ce7e139c211 /tools
parentf77f41e21ade7d44ede8c990959807adf77a430b (diff)
downloadlibayatana-indicator-a5913055316b1d2efe05435db3ed78898e8042d9.tar.gz
libayatana-indicator-a5913055316b1d2efe05435db3ed78898e8042d9.tar.bz2
libayatana-indicator-a5913055316b1d2efe05435db3ed78898e8042d9.zip
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().
Diffstat (limited to 'tools')
-rw-r--r--tools/indicator-loader.c2
1 files changed, 2 insertions, 0 deletions
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 <gtk/gtk.h>
#include <libindicator/indicator-object.h>
+#include <libido/libido.h>
#if GTK_MAJOR_VERSION == 3
#include <libindicator/indicator-ng.h>
@@ -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);