aboutsummaryrefslogtreecommitdiff
path: root/src/idomenuitemfactory.c
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-07-24 00:08:29 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-07-24 00:08:29 -0500
commit79875b4b19db7da66966aee7154620bf030cdbf4 (patch)
treefa878bdfd06736b38b1e08dca95a8d7bebf8eb3b /src/idomenuitemfactory.c
parentf3e64f722774ccbac28b8628bcc75d072a190143 (diff)
downloadayatana-ido-79875b4b19db7da66966aee7154620bf030cdbf4.tar.gz
ayatana-ido-79875b4b19db7da66966aee7154620bf030cdbf4.tar.bz2
ayatana-ido-79875b4b19db7da66966aee7154620bf030cdbf4.zip
add a menuitem that renders com.canonical.indicator.progress as laid out in https://wiki.ubuntu.com/Power#Phone
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 5ded309..b233095 100644
--- a/src/idomenuitemfactory.c
+++ b/src/idomenuitemfactory.c
@@ -21,6 +21,7 @@
#include <gtk/ubuntu-private.h>
#include "idoappointmentmenuitem.h"
+#include "idobasicmenuitem.h"
#include "idocalendarmenuitem.h"
#include "idolocationmenuitem.h"
#include "idoscalemenuitem.h"
@@ -66,6 +67,9 @@ ido_menu_item_factory_create_menu_item (UbuntuMenuItemFactory *factory,
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.indicator.progress"))
+ item = ido_progress_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);