projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
6956243
)
* Fixes NB#83582, do not "hang" when sending messages with invalid SMTP server confi...
author
Sergio Villar Senin
<svillar@igalia.com>
Mon, 7 Apr 2008 15:34:31 +0000
(15:34 +0000)
committer
Sergio Villar Senin
<svillar@igalia.com>
Mon, 7 Apr 2008 15:34:31 +0000
(15:34 +0000)
pmo-trunk-r4375
src/modest-ui-actions.c
patch
|
blob
|
history
diff --git
a/src/modest-ui-actions.c
b/src/modest-ui-actions.c
index
cfd30e7
..
2728eca
100644
(file)
--- a/
src/modest-ui-actions.c
+++ b/
src/modest-ui-actions.c
@@
-2299,13
+2299,18
@@
modest_ui_actions_on_folder_selection_changed (ModestFolderView *folder_view,
G_OBJECT(header_view),
MODEST_CONF_HEADER_VIEW_KEY);
} else {
G_OBJECT(header_view),
MODEST_CONF_HEADER_VIEW_KEY);
} else {
- /* Update the active account */
- //modest_window_set_active_account (MODEST_WINDOW (main_window), NULL);
- /* Save only if we're seeing headers */
+ /* No need to save the header view
+ configuration for Maemo because it only
+ saves the sorting stuff and that it's
+ already being done by the sort
+ dialog. Remove it when the GNOME version
+ has the same behaviour */
+#ifdef MODEST_PLATFORM_GNOME
if (modest_main_window_get_contents_style (main_window) ==
MODEST_MAIN_WINDOW_CONTENTS_STYLE_HEADERS)
modest_widget_memory_save (conf, G_OBJECT (header_view),
MODEST_CONF_HEADER_VIEW_KEY);
if (modest_main_window_get_contents_style (main_window) ==
MODEST_MAIN_WINDOW_CONTENTS_STYLE_HEADERS)
modest_widget_memory_save (conf, G_OBJECT (header_view),
MODEST_CONF_HEADER_VIEW_KEY);
+#endif
modest_header_view_clear (MODEST_HEADER_VIEW(header_view));
}
}
modest_header_view_clear (MODEST_HEADER_VIEW(header_view));
}
}