[Xfce4-commits] [apps/xfce4-screensaver] 08/17: speedup password window rendering

noreply at xfce.org noreply at xfce.org
Sat Mar 9 22:23:43 CET 2019


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 cc3d218eeafef61cc3b634c6ac3b1b6626cec11d
Author: Alexander Butenko <a.butenka at gmail.com>
Date:   Tue Feb 5 22:59:11 2019 -0400

    speedup password window rendering
---
 src/gs-window-x11.c            | 1 +
 src/xfce4-screensaver-dialog.c | 3 +--
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gs-window-x11.c b/src/gs-window-x11.c
index 7de9330..a4f7da2 100644
--- a/src/gs-window-x11.c
+++ b/src/gs-window-x11.c
@@ -1593,6 +1593,7 @@ popup_dialog (GSWindow *window) {
     window->priv->dialog_quit_requested = FALSE;
     window->priv->dialog_shake_in_progress = FALSE;
 
+    gs_debug ("Executing %s", command->str);
     result = spawn_on_window (window,
                               command->str,
                               &window->priv->lock_pid,
diff --git a/src/xfce4-screensaver-dialog.c b/src/xfce4-screensaver-dialog.c
index c3c674a..9678659 100644
--- a/src/xfce4-screensaver-dialog.c
+++ b/src/xfce4-screensaver-dialog.c
@@ -299,8 +299,6 @@ static gboolean do_auth_check(GSLockPlug* plug) {
 
     error = NULL;
 
-    gs_lock_plug_disable_prompt(plug);
-    gs_lock_plug_set_busy(plug);
     res = gs_auth_verify_user(g_get_user_name(), g_getenv("DISPLAY"), auth_message_handler, plug, &error);
 
     gs_debug("Verify user returned: %s", res ? "TRUE" : "FALSE");
@@ -418,6 +416,7 @@ static gboolean popup_dialog_idle(void) {
                                                GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
 
     gtk_widget_realize(widget);
+    gtk_widget_show(widget);
 
     g_idle_add((GSourceFunc) auth_check_idle, widget);
 

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


More information about the Xfce4-commits mailing list