[geary/wip/726282-accounts-focus] Increase GearyApplication.present() time delta woraround per bgo 726282



commit b1f0c405d3fb1aa6789396a9010a9cf64b885b6a
Author: Michael Gratton <mike vee net>
Date:   Wed Jan 16 12:27:57 2019 +1100

    Increase GearyApplication.present() time delta woraround per bgo 726282

 src/client/application/geary-application.vala | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/client/application/geary-application.vala b/src/client/application/geary-application.vala
index e7ecc762..76b43c2f 100644
--- a/src/client/application/geary-application.vala
+++ b/src/client/application/geary-application.vala
@@ -213,11 +213,11 @@ public class GearyApplication : Gtk.Application {
         // Use present_with_time and a synthesised time so the present
         // actually works, as a work around for Bug 766284
         // <https://bugzilla.gnome.org/show_bug.cgi?id=766284>.
-        // Subtract 10ms from the current time to avoid the main
+        // Subtract 1000ms from the current time to avoid the main
         // window stealing the focus when presented just before
-        // showing a dialog (issue #43).
+        // showing a dialog (issue #43, bgo 726282).
         this.controller.main_window.present_with_time(
-            (uint32) (get_monotonic_time() / 1000) - 10
+            (uint32) (get_monotonic_time() / 1000) - 1000
         );
 
         return true;


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