Fixes NB#112513, show the proper account title when opening folders window from notif...
[modest] / src / hildon2 / modest-maemo-utils.h
index 3bf1c5b..061ef6c 100644 (file)
@@ -39,7 +39,7 @@
 #include "widgets/modest-validating-entry.h"
 #include <hildon/hildon-gtk.h>
 
-#define MODEST_MAEMO_UTILS_MYDOCS_FOLDER "MyDocs"
+#define MODEST_MAEMO_UTILS_MYDOCS_ENV "MYDOCSDIR"
 #define MODEST_MAEMO_UTILS_DEFAULT_IMAGE_FOLDER ".images"
 
 
@@ -75,15 +75,6 @@ void modest_maemo_utils_setup_images_filechooser (GtkFileChooser *chooser);
 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)
@@ -127,14 +118,22 @@ GtkWidget *modest_maemo_utils_get_manager_menubar_as_menu (GtkUIManager *manager
 GtkWidget *modest_maemo_utils_create_captioned    (GtkSizeGroup *title_size_group,
                                                   GtkSizeGroup *value_size_group,
                                                   const gchar *title,
+                                                  gboolean use_markup,
                                                   GtkWidget *control);
 
 GtkWidget *modest_maemo_utils_create_captioned_with_size_type    (GtkSizeGroup *title_size_group,
                                                                  GtkSizeGroup *value_size_group,
                                                                  const gchar *title,
+                                                                 gboolean use_markup,
                                                                  GtkWidget *control,
                                                                  HildonSizeType size_type);
 
+void       modest_maemo_utils_captioned_set_label (GtkWidget *captioned,
+                                                  const gchar *new_label,
+                                                  gboolean use_markup);
+
+GtkWidget *modest_maemo_utils_captioned_get_label_widget (GtkWidget *captioned);
+
 void       modest_maemo_utils_set_hbutton_layout (GtkSizeGroup *title_sizegroup, 
                                                  GtkSizeGroup *value_sizegroup,
                                                  const gchar *title, 
@@ -145,4 +144,6 @@ void       modest_maemo_utils_set_vbutton_layout (GtkSizeGroup *sizegroup,
 
 GtkWidget *modest_maemo_utils_create_group_box (const gchar *label, GtkWidget *contents);
 
+gboolean   modest_maemo_utils_select_attachments (GtkWindow *window, TnyList *att_list, gboolean include_msgs);
+
 #endif /*__MODEST_MAEMO_UTILS_H__*/