[Xfce4-commits] [apps/xfce4-screensaver] 01/01: Add overlays to initial activation

noreply at xfce.org noreply at xfce.org
Sat Mar 21 23:47:20 CET 2020


This is an automated email from the git hooks/post-receive script.

b   l   u   e   s   a   b   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-screensaver.

commit 75f6fbc073c477762989308c5f3901ae62a82340
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Sat Mar 21 18:47:13 2020 -0400

    Add overlays to initial activation
---
 src/gs-manager.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/gs-manager.c b/src/gs-manager.c
index bf91f2a..55761a4 100644
--- a/src/gs-manager.c
+++ b/src/gs-manager.c
@@ -1240,6 +1240,7 @@ remove_job (GSJob *job) {
 
 static gboolean
 gs_manager_activate (GSManager *manager) {
+    GSList     *windows;
     gboolean    res;
 
     g_return_val_if_fail (manager != NULL, FALSE);
@@ -1266,8 +1267,14 @@ gs_manager_activate (GSManager *manager) {
 
     manager->priv->active = TRUE;
 
+    windows = add_overlays (manager);
+
     show_windows (manager->priv->windows);
 
+    g_timeout_add (2000,
+                   (GSourceFunc)remove_overlays,
+                   windows);
+
     return TRUE;
 }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list