#include <gtk/gtk.h>
#include <stdio.h> /* for FILE* */
-#include <modest-protocol-info.h>
#include <tny-fs-stream.h>
#include <libosso.h>
-
+#include "widgets/modest-global-settings-dialog.h"
+#include "widgets/modest-validating-entry.h"
#define MODEST_MAEMO_UTILS_MYDOCS_FOLDER "MyDocs"
#define MODEST_MAEMO_UTILS_DEFAULT_IMAGE_FOLDER ".images"
osso_context_t *modest_maemo_utils_get_osso_context (void);
/**
- * modest_maemo_open_mcc_mapping_file:
- *
- * open the mcc mapping file, or NULL if it fails
- *
- * Returns: file ptr or NULL in case of error
- */
-FILE* modest_maemo_open_mcc_mapping_file (void);
-
-/**
* modest_maemo_set_thumbable_scrollbar:
* @win: a scrollable window
* @thumbable: set it to thumbable (TRUE) or small (FALSE)
*/
void modest_maemo_utils_set_osso_context (osso_context_t *osso_context);
+/**
+ * modest_maemo_utils_get_manager_menubar_as_menu:
+ * @manager: a #GtkUIManager
+ * @item_name: a string
+ *
+ * obtains the node with name @item_name in @manager (which happens to be a menubar) as a
+ * #GtkMenu.
+ *
+ * Returns: a #GtkMenu
+ */
+GtkWidget *modest_maemo_utils_get_manager_menubar_as_menu (GtkUIManager *manager, const gchar *item_name);
+
#endif /*__MODEST_MAEMO_UTILS_H__*/