aboutsummaryrefslogtreecommitdiff
path: root/src/idomenuitemfactory.c
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2014-03-28 11:27:32 +0000
committerCI bot <ps-jenkins@lists.canonical.com>2014-03-28 11:27:32 +0000
commit6e90a5c32a62890d4d57db50d98aac9ca415edd2 (patch)
tree422b00a03da5c48b48e9bfaa5e987fc12414c2a8 /src/idomenuitemfactory.c
parent34b23e2274610fc6d935d47a57a886d9b3e59f3d (diff)
parent8269c14ba6a9865cfef818a5ceea0eb93f2ec2ae (diff)
downloadayatana-ido-6e90a5c32a62890d4d57db50d98aac9ca415edd2.tar.gz
ayatana-ido-6e90a5c32a62890d4d57db50d98aac9ca415edd2.tar.bz2
ayatana-ido-6e90a5c32a62890d4d57db50d98aac9ca415edd2.zip
expose idobasicmenuitem, a normal menu item that supports non-square icons
Diffstat (limited to 'src/idomenuitemfactory.c')
-rw-r--r--src/idomenuitemfactory.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/idomenuitemfactory.c b/src/idomenuitemfactory.c
index 11beaa8..cb10cce 100644
--- a/src/idomenuitemfactory.c
+++ b/src/idomenuitemfactory.c
@@ -32,6 +32,7 @@
#include "idoapplicationmenuitem.h"
#include "idosourcemenuitem.h"
#include "idoswitchmenuitem.h"
+#include "idoprogressmenuitem.h"
#define IDO_TYPE_MENU_ITEM_FACTORY (ido_menu_item_factory_get_type ())
#define IDO_MENU_ITEM_FACTORY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), IDO_TYPE_MENU_ITEM_FACTORY, IdoMenuItemFactory))
@@ -74,6 +75,9 @@ ido_menu_item_factory_create_menu_item (UbuntuMenuItemFactory *factory,
else if (g_str_equal (type, "com.canonical.indicator.alarm"))
item = ido_alarm_menu_item_new_from_model (menuitem, actions);
+ else if (g_str_equal (type, "com.canonical.indicator.basic"))
+ item = ido_basic_menu_item_new_from_model (menuitem, actions);
+
else if (g_str_equal (type, "com.canonical.indicator.progress"))
item = ido_progress_menu_item_new_from_model (menuitem, actions);