[gnome-software] Show the window right away



commit 58637b46d09b045b5acb327fd4f7378d0956afe4
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Sep 21 00:27:59 2013 -0400

    Show the window right away
    
    If yum holds the lock, we may otherwise ending up not
    showing anything for minutes, which is just broken.

 src/gs-application.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/gs-application.c b/src/gs-application.c
index c10ec9a..4b2aeb2 100644
--- a/src/gs-application.c
+++ b/src/gs-application.c
@@ -197,8 +197,7 @@ gs_application_startup (GApplication *application)
        window = gs_shell_setup (app->shell, app->plugin_loader, app->cancellable);
        gtk_application_add_window (GTK_APPLICATION (app), window);
 
-       g_signal_connect_swapped (app->shell, "loaded",
-                                 G_CALLBACK (gtk_window_present), window);
+        gtk_window_present (window);
 }
 
 static void


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