2007-05-03 Murray Cumming <murrayc@murrayc.com>
[modest] / src / maemo / modest-maemo-utils.h
index 99fb67b..aa23b4f 100644 (file)
 #ifndef __MODEST_MAEMO_UTILS_H__
 #define __MODEST_MAEMO_UTILS_H__
 
+#include <gtk/gtk.h>
+
+/**
+ * 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
  * 
  */