[gnome-software/gnome-3-30] trivial: Rename shell initial_overview_load_done to initial_refresh_done
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/gnome-3-30] trivial: Rename shell initial_overview_load_done to initial_refresh_done
- Date: Tue, 27 Nov 2018 12:59:48 +0000 (UTC)
commit d113898f9f569f698ced1f2b1c0d9444d4f3d44f
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 8fb4ec28..6895f927 100644
--- a/src/gs-shell.c
+++ b/src/gs-shell.c
@@ -546,13 +546,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);
@@ -2130,7 +2130,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]