#include <config.h>
#endif /*HAVE_CONFIG_H*/
-#ifdef MODEST_HAVE_HILDON0_WIDGETS
-#include <hildon-widgets/hildon-caption.h>
-#include <hildon-widgets/hildon-number-editor.h>
-#include <hildon-widgets/hildon-banner.h>
-#else
-#include <hildon/hildon-caption.h>
-#include <hildon/hildon-number-editor.h>
-#include <hildon/hildon-banner.h>
-#endif /*MODEST_HAVE_HILDON0_WIDGETS*/
+#include <modest-hildon-includes.h>
+#include <modest-maemo-utils.h>
#include <glib/gi18n.h>
#include <string.h>
#include <tny-account-store.h>
#include <tny-maemo-conic-device.h>
+
+
#define MSG_SIZE_MAX_VAL 5000
#define MSG_SIZE_DEF_VAL 1000
#define MSG_SIZE_MIN_VAL 1
{
/* grab the focus to the default element in the current page */
GtkWidget *selected_page = NULL, *focus_item = NULL;
- ModestGlobalSettingsDialogPrivate *ppriv;
- ModestMaemoGlobalSettingsDialogPrivate *priv;
SwitchPageHelper *helper;
- priv = MODEST_MAEMO_GLOBAL_SETTINGS_DIALOG_GET_PRIVATE (user_data);
- ppriv = MODEST_GLOBAL_SETTINGS_DIALOG_GET_PRIVATE (user_data);
-
selected_page = gtk_notebook_get_nth_page (notebook, page_num);
focus_item = GTK_WIDGET(g_object_get_data (G_OBJECT(selected_page), DEFAULT_FOCUS_WIDGET));
if (!focus_item) {
/* Set first page */
gtk_notebook_set_current_page (GTK_NOTEBOOK (ppriv->notebook), 0);
+
+ hildon_help_dialog_help_enable (GTK_DIALOG(self), "applications_email_options_dialog",
+ modest_maemo_utils_get_osso_context());
}
static void