* src/modest-ui-actions.c:
Remove call to show_non_move_folders(TRUE) which was moved to a wrong
place and also not necessary.
* src/widgets/modest-folder-view.c: (filter_row)
Guess folder type and hide Sent & Outbox if necessary.
Fixed project.maemo.org NB#57328
pmo-trunk-r2704
+2007-07-11 Johannes Schmid <johannes.schmid@openismus.com>
+
+ * src/modest-ui-actions.c:
+ Remove call to show_non_move_folders(TRUE) which was moved to a wrong
+ place and also not necessary.
+
+ * src/widgets/modest-folder-view.c: (filter_row)
+ Guess folder type and hide Sent & Outbox if necessary.
+ Fixed project.maemo.org NB#57328
+
2007-07-11 Murray Cumming <murrayc@murrayc-desktop>
* src/modest-main.c: (main): Only show the UI at the start if
2007-07-11 Murray Cumming <murrayc@murrayc-desktop>
* src/modest-main.c: (main): Only show the UI at the start if
/* Create and run the dialog */
dialog = create_move_to_dialog (GTK_WINDOW (win), folder_view, &tree_view);
/* Create and run the dialog */
dialog = create_move_to_dialog (GTK_WINDOW (win), folder_view, &tree_view);
- modest_folder_view_show_non_move_folders (MODEST_FOLDER_VIEW (tree_view), TRUE);
modest_folder_view_select_first_inbox_or_local (MODEST_FOLDER_VIEW (tree_view));
result = gtk_dialog_run (GTK_DIALOG(dialog));
g_object_ref (tree_view);
modest_folder_view_select_first_inbox_or_local (MODEST_FOLDER_VIEW (tree_view));
result = gtk_dialog_run (GTK_DIALOG(dialog));
g_object_ref (tree_view);
case TNY_FOLDER_TYPE_SENT:
retval = FALSE;
break;
case TNY_FOLDER_TYPE_SENT:
retval = FALSE;
break;
+ case TNY_FOLDER_TYPE_UNKNOWN:
+ case TNY_FOLDER_TYPE_NORMAL:
+ type = modest_tny_folder_guess_folder_type(TNY_FOLDER(instance));
+ if (type == TNY_FOLDER_TYPE_OUTBOX || type == TNY_FOLDER_TYPE_SENT)
+ {
+ retval = FALSE;
+ }
+ break;