Fixes NB#134700, play a sound after a send&receive if new headers are received and...
[modest] / src / hildon2 / modest-maemo-utils.h
index 8832fff..959227f 100644 (file)
@@ -132,6 +132,8 @@ 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, 
@@ -144,4 +146,16 @@ GtkWidget *modest_maemo_utils_create_group_box (const gchar *label, GtkWidget *c
 
 gboolean   modest_maemo_utils_select_attachments (GtkWindow *window, TnyList *att_list, gboolean include_msgs);
 
+#ifdef MODEST_PLATFORM_MAEMO
+/**
+ * modest_maemo_utils_in_usb_mode:
+ *
+ * Check if the device is working in mass storage mode
+ *
+ * Returns: returns TRUE if the internal memory of the device is
+ * working in mass storage mode
+ **/
+gboolean modest_maemo_utils_in_usb_mode ();
+#endif
+
 #endif /*__MODEST_MAEMO_UTILS_H__*/