aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-activity.c6
-rw-r--r--e-util/e-signature-utils.c5
2 files changed, 5 insertions, 6 deletions
diff --git a/e-util/e-activity.c b/e-util/e-activity.c
index f90361d7f2..38196e8484 100644
--- a/e-util/e-activity.c
+++ b/e-util/e-activity.c
@@ -266,10 +266,8 @@ activity_describe (EActivity *activity)
} else if (e_activity_is_completed (activity)) {
/* Translators: This is a completed activity. */
g_string_printf (string, _("%s (completed)"), text);
- } else if (percent < 0.0) {
- /* Translators: This is an activity whose percent
- * complete is unknown. */
- g_string_printf (string, _("%s..."), text);
+ } else if (percent <= 0.0) {
+ g_string_printf (string, _("%s"), text);
} else {
/* Translators: This is an activity whose percent
* complete is known. */
diff --git a/e-util/e-signature-utils.c b/e-util/e-signature-utils.c
index cf55c73864..d42d6f325d 100644
--- a/e-util/e-signature-utils.c
+++ b/e-util/e-signature-utils.c
@@ -196,7 +196,7 @@ e_read_signature_file (ESignature *signature,
output_stream = camel_stream_mem_new ();
camel_stream_mem_set_byte_array (
CAMEL_STREAM_MEM (output_stream), buffer);
- camel_stream_write_to_stream (input_stream, output_stream, NULL);
+ camel_stream_write_to_stream (input_stream, output_stream, NULL, NULL);
g_object_unref (output_stream);
g_object_unref (input_stream);
@@ -290,7 +290,8 @@ e_run_signature_script (const gchar *filename)
CAMEL_STREAM_MEM (output_stream), buffer);
input_stream = camel_stream_fs_new_with_fd (in_fds[0]);
- camel_stream_write_to_stream (input_stream, output_stream, NULL);
+ camel_stream_write_to_stream (
+ input_stream, output_stream, NULL, NULL);
g_object_unref (input_stream);
g_object_unref (output_stream);