diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2014-03-28 11:27:32 +0000 |
---|---|---|
committer | CI bot <ps-jenkins@lists.canonical.com> | 2014-03-28 11:27:32 +0000 |
commit | 6e90a5c32a62890d4d57db50d98aac9ca415edd2 (patch) | |
tree | 422b00a03da5c48b48e9bfaa5e987fc12414c2a8 /src/idomenuitemfactory.c | |
parent | 34b23e2274610fc6d935d47a57a886d9b3e59f3d (diff) | |
parent | 8269c14ba6a9865cfef818a5ceea0eb93f2ec2ae (diff) | |
download | ayatana-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.c | 4 |
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); |