Work to fix recovering sort status in headers view (fixes NB#58250).
authorJose Dapena Paz <jdapena@igalia.com>
Mon, 18 Jun 2007 16:13:14 +0000 (16:13 +0000)
committerJose Dapena Paz <jdapena@igalia.com>
Mon, 18 Jun 2007 16:13:14 +0000 (16:13 +0000)
commit856d7ab2997effafe72148fe34a0aa461856ce07
tree9ed52b71809ff7f041259aee0cea472f0174e7f5
parent05dbdc2d2a12ca3a60e8a13866d31f5c45100c36
Work to fix recovering sort status in headers view (fixes NB#58250).
* src/maemo/modest-platform.c:
        * Now it retrieves the current header view sort column,
          sort type, and in case of sorting flags, the flag we sort.
          This way, the dialog is prefilled with the current header
          view status.
* src/modest-widget-memory-priv.h:
        * Added the new kind of key "column-sort", that specified the
          model column used to sort in header view.
* src/modest-widget-memory.c:
        * Now save_settings_header_view and restore_settings_header_view
          store a global sort value. This is required for recovering the
          sort status in the compact view.

Other fixes:
* src/modest-ui-dimming-rules.c:
        * Condition for one or more attachments was wrong.

pmo-trunk-r2292
src/maemo/modest-platform.c
src/modest-ui-dimming-rules.c
src/modest-widget-memory-priv.h
src/modest-widget-memory.c