[geary: 19/66] Improve const naming



commit b3ab74839e6146aa360d6e7234fc97defbde29d4
Author: Chris Heywood <15127-creywood users noreply gitlab gnome org>
Date:   Wed Jan 8 14:49:53 2020 +0100

    Improve const naming

 src/client/application/application-controller.vala | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/client/application/application-controller.vala 
b/src/client/application/application-controller.vala
index 903f7943b..7a3fdbe82 100644
--- a/src/client/application/application-controller.vala
+++ b/src/client/application/application-controller.vala
@@ -18,7 +18,7 @@ internal class Application.Controller : Geary.BaseObject {
 
     private const uint MAX_AUTH_ATTEMPTS = 3;
 
-    private const uint CLEANUP_WORK_AFTER_IDLE_BACKGROUND_MINUTES = 5;
+    private const uint CLEANUP_CHECK_AFTER_IDLE_BACKGROUND_MINUTES = 5;
 
     /** Determines if conversations can be trashed from the given folder. */
     public static bool does_folder_support_trash(Geary.Folder? target) {
@@ -1411,7 +1411,7 @@ internal class Application.Controller : Geary.BaseObject {
 
     // Track a window going unfocused, for idle background work
     public void window_focus_out() {
-        this.all_windows_backgrounded_timeout = new 
Geary.TimeoutManager.seconds(CLEANUP_WORK_AFTER_IDLE_BACKGROUND_MINUTES * 60, on_unfocused_idle);
+        this.all_windows_backgrounded_timeout = new 
Geary.TimeoutManager.seconds(CLEANUP_CHECK_AFTER_IDLE_BACKGROUND_MINUTES * 60, on_unfocused_idle);
         this.all_windows_backgrounded_timeout.start();
     }
 


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