modest_conf_set_int (conf, key, width, NULL);
g_free (key);
+#ifndef MODEST_TOOLKIT_HILDON2
/* Save also the main window style */
if (MODEST_IS_MAIN_WINDOW (win)) {
ModestMainWindowStyle style = modest_main_window_get_style (MODEST_MAIN_WINDOW (win));
modest_conf_set_int (conf, key, style, NULL);
g_free (key);
}
-
+#endif
return TRUE;
}
gtk_window_set_default_size (win, width, height);
#endif
+#ifndef MODEST_TOOLKIT_HILDON2
/* Restore also the main window style */
if (MODEST_IS_MAIN_WINDOW (win)) {
ModestMainWindowStyle style;
g_free (key);
}
}
+#endif
return TRUE;
}