diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-06-19 10:58:55 -0400 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-06-19 10:58:55 -0400 |
commit | 9bf880d9abf2b980f16fd56e42e4072feacc77c5 (patch) | |
tree | 580418dff5ce763d64a39a1d63a99332cdffa412 /src/idomenuitemfactory.c | |
parent | bfb0755c41d69bb02b8de2ebe5854cf0f04de116 (diff) | |
parent | e84fd152bb24fab0676989f1501cc2b807400bd6 (diff) | |
download | ayatana-ido-9bf880d9abf2b980f16fd56e42e4072feacc77c5.tar.gz ayatana-ido-9bf880d9abf2b980f16fd56e42e4072feacc77c5.tar.bz2 ayatana-ido-9bf880d9abf2b980f16fd56e42e4072feacc77c5.zip |
Merge trunk
Diffstat (limited to 'src/idomenuitemfactory.c')
-rw-r--r-- | src/idomenuitemfactory.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/idomenuitemfactory.c b/src/idomenuitemfactory.c index ecb07e0..650c95f 100644 --- a/src/idomenuitemfactory.c +++ b/src/idomenuitemfactory.c @@ -20,8 +20,11 @@ #include <gtk/gtk.h> #include <gtk/ubuntu-private.h> -#include "idousermenuitem.h" +#include "idoappointmentmenuitem.h" +#include "idocalendarmenuitem.h" +#include "idolocationmenuitem.h" #include "idoscalemenuitem.h" +#include "idousermenuitem.h" #include "idomediaplayermenuitem.h" #include "idoplaybackmenuitem.h" @@ -51,6 +54,15 @@ 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); + else if (g_str_equal (type, "com.canonical.indicator.calendar")) + item = ido_calendar_menu_item_new_from_model (menuitem, actions); + + else if (g_str_equal (type, "com.canonical.indicator.location")) + item = ido_location_menu_item_new_from_model (menuitem, actions); + + else if (g_str_equal (type, "com.canonical.indicator.appointment")) + item = ido_appointment_menu_item_new_from_model (menuitem, actions); + else if (g_str_equal (type, "com.canonical.unity.slider")) item = ido_scale_menu_item_new_from_model (menuitem, actions); |