Fix shortcut for Send in the message editor
[modest] / src / widgets / modest-window.h
index 63bd1bd..03acc1c 100644 (file)
@@ -69,7 +69,7 @@ typedef HildonWindowClass ModestWindowParentClass;
 /* Dimmed state variables */
 typedef struct _DimmedState {  
        guint    n_selected;
-       gboolean already_opened_msg;
+       guint    already_opened_msg;
        gboolean any_marked_as_deleted;
        gboolean all_marked_as_deleted;
        gboolean any_marked_as_seen;
@@ -79,6 +79,7 @@ typedef struct _DimmedState {
        gboolean any_has_attachments;
        gboolean all_has_attachments;
        gboolean sent_in_progress;
+       gboolean all_selected;
 } DimmedState;
 
 /* convenience macros */
@@ -136,7 +137,8 @@ const gchar* modest_window_get_active_account (ModestWindow *self);
  * @self: a modest window instance
  * @active_account: a new active account name for this window
  * 
- * set the active account for this window
+ * set the active account for this window.
+ * NOTE: this must be a valid, non-pseudo account.
  * 
  */    
 void modest_window_set_active_account (ModestWindow *self, const gchar *active_account);
@@ -273,6 +275,26 @@ void modest_window_check_dimming_rules_group (ModestWindow *self,
                                              const gchar *group_name);
 
 
+/**
+ * modest_window_enable_dimming:
+ * @self: a #ModestWindow instance object
+ * 
+ * Enables UI dimming rules checking.
+ *
+ **/
+void modest_window_enable_dimming (ModestWindow *self);
+
+
+/**
+ * modest_window_disable_dimming:
+ * @self: a #ModestWindow instance object
+ * 
+ * Disables UI dimming rules checking.
+ *
+ **/
+void modest_window_disable_dimming (ModestWindow *self);
+
+
 void modest_window_disconnect_signals (ModestWindow *self);