version and bug fix info update for week 46, 2009 release
[modest] / src / widgets / modest-window.h
index 0c8b874..aee502d 100644 (file)
@@ -50,19 +50,12 @@ G_BEGIN_DECLS
 typedef GtkWindow      ModestWindowParent;
 typedef GtkWindowClass ModestWindowParentClass;
 #else
-#if MODEST_HILDON_API == 0
-#include <hildon-widgets/hildon-window.h>
-#else
 #ifdef MODEST_TOOLKIT_HILDON2
 #include <hildon/hildon-stackable-window.h>
-#else
-#include <hildon/hildon-window.h>
-#endif
-#endif /*MODEST_HILDON_API == 0*/
-#ifdef MODEST_TOOLKIT_HILDON2
 typedef HildonStackableWindow      ModestWindowParent;
 typedef HildonStackableWindowClass ModestWindowParentClass;
 #else
+#include <hildon/hildon-window.h>
 typedef HildonWindow      ModestWindowParent;
 typedef HildonWindowClass ModestWindowParentClass;
 #endif
@@ -151,6 +144,28 @@ const gchar* modest_window_get_active_account (ModestWindow *self);
 void modest_window_set_active_account (ModestWindow *self, const gchar *active_account);
 
 /**
+ * modest_window_get_active_mailbox:
+ * @self: a modest window instance
+ * 
+ * get the name of the active mailbox
+ * 
+ * Returns: the active mailbox as a constant string
+ */    
+const gchar* modest_window_get_active_mailbox (ModestWindow *self);
+
+
+
+/**
+ * modest_window_set_active_account:
+ * @self: a modest window instance
+ * @active_mailbox: a new active mailbox name for this window
+ * 
+ * set the active mailbox for this window.
+ * 
+ */    
+void modest_window_set_active_mailbox (ModestWindow *self, const gchar *active_mailbox);
+
+/**
  * modest_window_set_zoom:
  * @window: a #ModestWindow instance
  * @zoom: the zoom level (1.0 is no zoom)