From 02e34afc8678d10be616eeefec290a6088a3c56e Mon Sep 17 00:00:00 2001 From: Murray Cumming Date: Fri, 27 Sep 2013 12:26:17 +0200 Subject: Menu: Add a TODO --- gio/src/menu.hg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gio/src/menu.hg b/gio/src/menu.hg index fee1ddd8..1016856b 100644 --- a/gio/src/menu.hg +++ b/gio/src/menu.hg @@ -54,7 +54,8 @@ public: _WRAP_METHOD(void remove(int position), g_menu_remove) _WRAP_METHOD(void remove_all(), g_menu_remove_all) -//TODO: Allow label to be null. +//TODO: Allow label to be null. But when would that be useful? +//TODO: Return the MenuItem* ? See https://bugzilla.gnome.org/show_bug.cgi?id=708906 _WRAP_METHOD(void insert(int position, const Glib::ustring& label, const Glib::ustring& detailed_action = Glib::ustring()), g_menu_insert) _WRAP_METHOD(void prepend(const Glib::ustring& label, const Glib::ustring& detailed_action = Glib::ustring()), g_menu_prepend) _WRAP_METHOD(void append(const Glib::ustring& label, const Glib::ustring& detailed_action = Glib::ustring()), g_menu_append) -- cgit v1.2.1