X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-ui-actions.c;h=f43ffbf6588b83b5037a5cecc21382d1dbb3ee27;hp=e1c8b218e1306df4358084927306d1329017b170;hb=4306fe319d2e238ee2f99bc1420623b25b1dfdd6;hpb=47d8e58d363cd9ee84db142e6050f27446420241 diff --git a/src/modest-ui-actions.c b/src/modest-ui-actions.c index e1c8b21..f43ffbf 100644 --- a/src/modest-ui-actions.c +++ b/src/modest-ui-actions.c @@ -2212,29 +2212,6 @@ new_messages_arrived (ModestMailOperation *self, } -gboolean -retrieve_all_messages_cb (GObject *source, - guint num_msgs, - guint retrieve_limit) -{ - GtkWindow *window; - gchar *msg; - gint response; - - window = GTK_WINDOW (source); - msg = g_strdup_printf (_("mail_nc_msg_count_limit_exceeded"), - num_msgs, retrieve_limit); - - /* Ask the user if they want to retrieve all the messages */ - response = - modest_platform_run_confirmation_dialog_with_buttons (window, msg, - _("mcen_bd_get_all"), - _("mcen_bd_newest_only")); - /* Free and return */ - g_free (msg); - return (response == GTK_RESPONSE_ACCEPT) ? TRUE : FALSE; -} - typedef struct { TnyAccount *account; ModestWindow *win; @@ -2280,7 +2257,6 @@ do_send_receive_performer (gboolean canceled, /* Send & receive. */ modest_mail_operation_update_account (info->mail_op, info->account_name, info->poke_status, info->interactive, - (info->win) ? retrieve_all_messages_cb : NULL, new_messages_arrived, info->win); clean: