aboutsummaryrefslogtreecommitdiff
path: root/src/idomenuitemfactory.c
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2013-06-19 10:58:55 -0400
committerLars Uebernickel <lars.uebernickel@canonical.com>2013-06-19 10:58:55 -0400
commit9bf880d9abf2b980f16fd56e42e4072feacc77c5 (patch)
tree580418dff5ce763d64a39a1d63a99332cdffa412 /src/idomenuitemfactory.c
parentbfb0755c41d69bb02b8de2ebe5854cf0f04de116 (diff)
parente84fd152bb24fab0676989f1501cc2b807400bd6 (diff)
downloadayatana-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.c14
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);