diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2013-06-23 18:06:39 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2013-06-23 18:06:39 -0500 |
commit | 8008ec3c0dbd2dca7697f4f22c90f1d84819d1e0 (patch) | |
tree | d6154d9a92f0e3e1589ecc0971749a02dbe1249b /src/idomenuitemfactory.c | |
parent | 61ce72760580396f55c1c9490bdc3cc6b52482d1 (diff) | |
download | ayatana-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.c | 3 |
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); |