* Add new header settings parameter (sort) to select
[modest] / src / widgets / modest-main-window.h
index dbea5c0..c329ddf 100644 (file)
@@ -79,6 +79,12 @@ typedef enum _ModestMainWindowContentsStyle {
        MODEST_MAIN_WINDOW_CONTENTS_STYLE_DETAILS,
 } ModestMainWindowContentsStyle;
 
+/* toolbar modes  */
+typedef enum _ModestToolBarModes {
+       TOOLBAR_MODE_NORMAL,
+       TOOLBAR_MODE_TRANSFER,  
+} ModestToolBarModes;
+
 /**
  * modest_main_window_get_type:
  * 
@@ -167,6 +173,18 @@ ModestMainWindowStyle       modest_main_window_get_style        (ModestMainWindo
 void       modest_main_window_set_contents_style       (ModestMainWindow *self, 
                                                        ModestMainWindowContentsStyle style);
 
+/**
+ * modest_main_window_set_contents_style:
+ * @self: the #ModestMainWindow
+ * @mode: a #ModestTollbarMode that will be set
+ * 
+ * Shows toolitems associated with toolbar mode (Normal/Transfer), 
+ * defined by @mode argument.
+ * 
+ **/
+void 
+modest_main_window_set_toolbar_mode (ModestMainWindow *self, 
+                                     ModestToolBarModes mode);
 
 G_END_DECLS