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



commit a3a8dd49324ff24f06852dabc9b4a82f5d7c323c
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 4b313a06..946b3f37 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]