+2007-06-19 Murray Cumming <murrayc@murrayc.com>
+
+ * src/modest-ui-actions.c: (modest_ui_actions_on_copy):
+ Initialize the continue_download variable to fix the build, and probably
+ to fix randome behaviour.
+
2007-06-18 Armin Burgmeier <armin@openismus.com>
* src/modest-tny-send-queue.h:
gtk_text_buffer_copy_clipboard (buffer, clipboard);
modest_header_view_copy_selection (MODEST_HEADER_VIEW (focused_widget));
} else if (MODEST_IS_HEADER_VIEW (focused_widget)) {
- gboolean continue_download, ask;
TnyList *header_list = modest_header_view_get_selected_headers (MODEST_HEADER_VIEW (focused_widget));
TnyIterator *iter = tny_list_create_iterator (header_list);
TnyHeader *header = TNY_HEADER (tny_iterator_get_current (iter));
TnyAccount *account = tny_folder_get_account (folder);
const gchar *proto_str = tny_account_get_proto (TNY_ACCOUNT (account));
/* If it's POP then ask */
- ask = (modest_protocol_info_get_transport_store_protocol (proto_str) ==
+ gboolean ask = (modest_protocol_info_get_transport_store_protocol (proto_str) ==
MODEST_PROTOCOL_STORE_POP) ? TRUE : FALSE;
g_object_unref (account);
g_object_unref (folder);
g_object_unref (header);
g_object_unref (iter);
+
/* Check that the messages have been previously downloaded */
+ gboolean continue_download = TRUE;
if (ask)
continue_download = download_uncached_messages (header_list, GTK_WINDOW (window));
if (continue_download)