X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fmaemo%2Fmodest-maemo-utils.h;h=aa23b4fd8db25604d8536deb04aafb5da6edad47;hb=652527fd671cc695045b75893d7010c246585ef2;hp=99fb67bb823f76309035a0cabfd5828a0af29433;hpb=26bbed080f7d04a8434a8b348fb4136aba4c6f23;p=modest diff --git a/src/maemo/modest-maemo-utils.h b/src/maemo/modest-maemo-utils.h index 99fb67b..aa23b4f 100644 --- a/src/maemo/modest-maemo-utils.h +++ b/src/maemo/modest-maemo-utils.h @@ -31,12 +31,25 @@ #ifndef __MODEST_MAEMO_UTILS_H__ #define __MODEST_MAEMO_UTILS_H__ +#include + +/** + * modest_maemo_utils_menubar_to_menu: + * @ui_manager: a ui manager, with the menubar at "/MenuBar" + * + * convert a menubar description (in a GtkUIManager) in to a menu + * + * Returns: a new menu, or NULL in case of error + */ +GtkWidget* modest_maemo_utils_menubar_to_menu (GtkUIManager *ui_manager); + + /** * modest_maemo_utils_get_device_name * * get the name for this device. Note: this queries the bluetooth * name over DBUS, and may block. The result will be available in - * MODEST_DEVICE_NAME in ModestConf; it will be updated when it + * MODEST_CONF_DEVICE_NAME in ModestConf; it will be updated when it * changes * */