aboutsummaryrefslogtreecommitdiff
path: root/src/idomenuitemfactory.c
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-06-23 18:06:39 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-06-23 18:06:39 -0500
commit8008ec3c0dbd2dca7697f4f22c90f1d84819d1e0 (patch)
treed6154d9a92f0e3e1589ecc0971749a02dbe1249b /src/idomenuitemfactory.c
parent61ce72760580396f55c1c9490bdc3cc6b52482d1 (diff)
downloadayatana-ido-8008ec3c0dbd2dca7697f4f22c90f1d84819d1e0.tar.gz
ayatana-ido-8008ec3c0dbd2dca7697f4f22c90f1d84819d1e0.tar.bz2
ayatana-ido-8008ec3c0dbd2dca7697f4f22c90f1d84819d1e0.zip
add ido_guest_menu_item_new_for_model()
Diffstat (limited to 'src/idomenuitemfactory.c')
-rw-r--r--src/idomenuitemfactory.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/idomenuitemfactory.c b/src/idomenuitemfactory.c
index 650c95f..5ded309 100644
--- a/src/idomenuitemfactory.c
+++ b/src/idomenuitemfactory.c
@@ -54,6 +54,9 @@ ido_menu_item_factory_create_menu_item (UbuntuMenuItemFactory *factory,
if (g_str_equal (type, "indicator.user-menu-item"))
item = ido_user_menu_item_new_from_model (menuitem, actions);
+ if (g_str_equal (type, "indicator.guest-menu-item"))
+ item = ido_guest_menu_item_new_from_model (menuitem, actions);
+
else if (g_str_equal (type, "com.canonical.indicator.calendar"))
item = ido_calendar_menu_item_new_from_model (menuitem, actions);