[gnome-software/gnome-3-22] Reset the headerbar title when switching to the details page
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/gnome-3-22] Reset the headerbar title when switching to the details page
- Date: Wed, 8 Mar 2017 13:22:06 +0000 (UTC)
commit 030448f34b762b6efb90496195db1e375b3f2035
Author: Kalev Lember <klember redhat com>
Date: Wed Mar 8 14:07:30 2017 +0100
Reset the headerbar title when switching to the details page
When the initial page load takes a bit of time, e.g. when loading a
flatpakref, we may not have all the information right away to show. This
commit fixes this case to make sure we don't show a stray title from
a previous details page run while the flatpakref is loading.
src/gs-shell-details.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-shell-details.c b/src/gs-shell-details.c
index bb64352..1e3432d 100644
--- a/src/gs-shell-details.c
+++ b/src/gs-shell-details.c
@@ -238,6 +238,7 @@ gs_shell_details_switch_to (GsPage *page, gboolean scroll_up)
}
widget = GTK_WIDGET (gtk_builder_get_object (self->builder, "application_details_header"));
+ gtk_label_set_label (GTK_LABEL (widget), "");
gtk_widget_show (widget);
/* not set, perhaps file-to-app */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]