Commit 58637b46 authored by Matthias Clasen's avatar Matthias Clasen
Browse files

Show the window right away

If yum holds the lock, we may otherwise ending up not
showing anything for minutes, which is just broken.
parent 62a0991f
...@@ -197,8 +197,7 @@ gs_application_startup (GApplication *application) ...@@ -197,8 +197,7 @@ gs_application_startup (GApplication *application)
window = gs_shell_setup (app->shell, app->plugin_loader, app->cancellable); window = gs_shell_setup (app->shell, app->plugin_loader, app->cancellable);
gtk_application_add_window (GTK_APPLICATION (app), window); gtk_application_add_window (GTK_APPLICATION (app), window);
g_signal_connect_swapped (app->shell, "loaded", gtk_window_present (window);
G_CALLBACK (gtk_window_present), window);
} }
static void static void
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment