[gnome-software: 1/2] updates-page: Drop the unused header end widget
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 1/2] updates-page: Drop the unused header end widget
- Date: Mon, 6 Sep 2021 11:51:05 +0000 (UTC)
commit 2fed47cf773fed05848475963789fa7aaf5ce28b
Author: Adrien Plazas <kekun plazas laposte net>
Date: Thu Sep 2 13:12:29 2021 +0200
updates-page: Drop the unused header end widget
This avoids changing the view switcher's size for no reason as it
changes the header bar's spacing.
src/gs-updates-page.c | 5 -----
1 file changed, 5 deletions(-)
---
diff --git a/src/gs-updates-page.c b/src/gs-updates-page.c
index db1556068..7b75c07e3 100644
--- a/src/gs-updates-page.c
+++ b/src/gs-updates-page.c
@@ -60,7 +60,6 @@ struct _GsUpdatesPage
GtkWidget *header_spinner_start;
GtkWidget *header_checking_label;
GtkWidget *header_start_box;
- GtkWidget *header_end_box;
gboolean has_agreed_to_mobile_data;
gboolean ampm_available;
guint updates_counter;
@@ -1279,10 +1278,6 @@ gs_updates_page_setup (GsPage *page,
g_signal_connect (self->upgrade_banner, "cancel-clicked",
G_CALLBACK (gs_updates_page_upgrade_cancel_cb), self);
- self->header_end_box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
- gtk_widget_set_visible (self->header_end_box, TRUE);
- gs_page_set_header_end_widget (GS_PAGE (self), self->header_end_box);
-
self->header_start_box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
gtk_widget_set_visible (self->header_start_box, TRUE);
gs_page_set_header_start_widget (GS_PAGE (self), self->header_start_box);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]