* @param prefs preferences map.
*/
private void loadGuidesPreferences(Map prefs)
{
UserPreferences up = model.getUserPreferences();
FeedRenderingSettings frs = model.getGlobalRenderingSettings();
up.setPingOnReadingListPublication(getBoolean(prefs,
UserPreferences.PROP_PING_ON_RL_PUBLICATION,
up.isPingOnReadingListPublication()));
up.setPingOnReadingListPublicationURL(getString(prefs,
UserPreferences.PROP_PING_ON_RL_PUBLICATION_URL,
up.getPingOnReadingListPublicationURL()));
frs.setBigIconInGuides(getBoolean(prefs,
RenderingSettingsNames.IS_BIG_ICON_IN_GUIDES,
frs.isBigIconInGuides()));
frs.setShowUnreadInGuides(getBoolean(prefs,
"showUnreadInGuides",
frs.isShowUnreadInGuides()));
frs.setShowIconInGuides(getBoolean(prefs,
RenderingSettingsNames.IS_ICON_IN_GUIDES_SHOWING,
frs.isShowIconInGuides()));
frs.setShowTextInGuides(getBoolean(prefs,
RenderingSettingsNames.IS_TEXT_IN_GUIDES_SHOWING,
frs.isShowTextInGuides()));
up.setGuideSelectionMode(getInt(prefs,
UserPreferences.PROP_GUIDE_SELECTION_MODE,
up.getGuideSelectionMode()));
}