- /* Restore also the main window style */
- if (MODEST_IS_MAIN_WINDOW (win)) {
- ModestMainWindowStyle style;
-
- key = _modest_widget_memory_get_keyname (name, MODEST_WIDGET_MEMORY_PARAM_WINDOW_STYLE);
- if (modest_conf_key_exists (conf, key, NULL)) {
- style = (ModestMainWindowStyle) modest_conf_get_int (conf, key, NULL);
- modest_main_window_set_style (MODEST_MAIN_WINDOW (win), style);
- g_free (key);
- }
- }