[geary: 4/6] Minor tidy up for feedback on large image paste



commit 7a5fb05fb5bc813a237278450885b120cb2b1a2a
Author: Chris Heywood <15127-creywood users noreply gitlab gnome org>
Date:   Sat Dec 7 13:48:03 2019 +0100

    Minor tidy up for feedback on large image paste

 src/client/composer/composer-widget.vala | 6 ------
 1 file changed, 6 deletions(-)
---
diff --git a/src/client/composer/composer-widget.vala b/src/client/composer/composer-widget.vala
index 887677b7..e46bc6f3 100644
--- a/src/client/composer/composer-widget.vala
+++ b/src/client/composer/composer-widget.vala
@@ -27,11 +27,6 @@ public class Composer.Widget : Gtk.EventBox, Geary.BaseInterface {
     /// Translators: Title for an empty composer window
     private const string DEFAULT_TITLE = _("New Message");
 
-
-    /** For providing feedback on slow operation for large inline image paste. */
-    private const int SHOW_BACKGROUND_WORK_TIMEOUT_MSEC = 500;
-    private const int PULSE_TIMEOUT_MSEC = 250;
-
     public enum ComposeType {
         NEW_MESSAGE,
         REPLY,
@@ -2082,7 +2077,6 @@ public class Composer.Widget : Gtk.EventBox, Geary.BaseInterface {
                         );
                         throw new Geary.EngineError.UNSUPPORTED("Mock method");
                     } catch (Error error) {
-                        warning("Failed to convert pasted clipboard image to PNG: %s", error.message);
                         this.application.controller.report_problem(
                             new Geary.ProblemReport(error)
                         );


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]