[gnome-software/ramcq/loading: 4/4] trivial: Rename shell initial_overview_load_done to initial_refresh_done



commit 63b6e524c2fa7200e7b08a16b39006fe17020d8b
Author: Robert McQueen <rob endlessm com>
Date:   Wed Oct 10 15:50:52 2018 +0100

    trivial: Rename shell initial_overview_load_done to initial_refresh_done
    
    As this is actually implemented by the loading page rather than the
    overview, name it more accurately/descriptively.

 src/gs-shell.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gs-shell.c b/src/gs-shell.c
index 75d67141..6ffe40e6 100644
--- a/src/gs-shell.c
+++ b/src/gs-shell.c
@@ -538,13 +538,13 @@ gs_shell_back_button_cb (GtkWidget *widget, GsShell *shell)
 }
 
 static void
-initial_overview_load_done (GsOverviewPage *overview_page, gpointer data)
+initial_refresh_done (GsLoadingPage *loading_page, gpointer data)
 {
        GsPage *page;
        GsShell *shell = data;
        GsShellPrivate *priv = gs_shell_get_instance_private (shell);
 
-       g_signal_handlers_disconnect_by_func (overview_page, initial_overview_load_done, data);
+       g_signal_handlers_disconnect_by_func (loading_page, initial_refresh_done, data);
 
        page = GS_PAGE (gtk_builder_get_object (priv->builder, "updates_page"));
        gs_page_reload (page);
@@ -2095,7 +2095,7 @@ gs_shell_setup (GsShell *shell, GsPluginLoader *plugin_loader, GCancellable *can
        /* load content */
        page = GS_PAGE (gtk_builder_get_object (priv->builder, "loading_page"));
        g_signal_connect (page, "refreshed",
-                         G_CALLBACK (initial_overview_load_done), shell);
+                         G_CALLBACK (initial_refresh_done), shell);
 
        /* coldplug */
        gs_shell_rescan_events (shell);


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