if (priv->current == NULL) return;
- /* If received canceled we shall show banner */
- if (modest_mail_operation_get_type_operation (priv->current) ==
- MODEST_MAIL_OPERATION_TYPE_RECEIVE)
- modest_platform_information_banner (NULL, NULL,
- _("emev_ib_ui_pop3_msg_recv_cancel"));
-
modest_mail_operation_cancel (priv->current);
}
me = MODEST_PROGRESS_BAR_WIDGET (self);
priv = MODEST_PROGRESS_BAR_WIDGET_GET_PRIVATE (me);
- /* If received canceled we shall show banner */
- if (priv->current && modest_mail_operation_get_type_operation (priv->current) ==
- MODEST_MAIL_OPERATION_TYPE_RECEIVE)
- modest_platform_information_banner (NULL, NULL,
- _("emev_ib_ui_pop3_msg_recv_cancel"));
-
/* Cancel all the mail operations */
modest_mail_operation_queue_cancel_all (modest_runtime_get_mail_operation_queue ());
}
gtk_progress_bar_set_bar_style (GTK_PROGRESS_BAR (priv->progress_bar), /* Deprecated */
GTK_PROGRESS_CONTINUOUS);
gtk_progress_bar_pulse (GTK_PROGRESS_BAR (priv->progress_bar));
- printf ("debug: %s:\n undetermined progress (%i) changed (%i/%i) : %i\n", __FUNCTION__,
- (int) priv->progress_bar,
- done,
- total,
- priv->count);
+/* printf ("debug: %s:\n undetermined progress (%i) changed (%i/%i) : %i\n", __FUNCTION__, */
+/* (int) priv->progress_bar, */
+/* done, */
+/* total, */
+/* priv->count); */
} else {
gdouble percent = 0;
if (total != 0) /* Avoid division by zero. */
gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (priv->progress_bar),
percent);
- printf ("debug: %s:\n determined progress (%i) changed (%i/%i) : %i\n", __FUNCTION__,
- (int) priv->progress_bar,
- done,
- total,
- priv->count);
+/* printf ("debug: %s:\n determined progress (%i) changed (%i/%i) : %i\n", __FUNCTION__, */
+/* (int) priv->progress_bar, */
+/* done, */
+/* total, */
+/* priv->count); */
}
/* Set text */