[gnome-software] extras: Make sure install buttons show up on each row
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] extras: Make sure install buttons show up on each row
- Date: Fri, 23 Feb 2018 15:37:24 +0000 (UTC)
commit e71164b7ed64e6e60b58455a87752cf315bac290
Author: Kalev Lember <klember redhat com>
Date: Fri Feb 23 15:50:14 2018 +0100
extras: Make sure install buttons show up on each row
This regressed in commit f007e5e7699d82c68310223905a2c08f85d66854
src/gs-app-row.c | 10 ----------
src/gs-app-row.h | 2 --
src/gs-extras-page.c | 2 +-
3 files changed, 1 insertion(+), 13 deletions(-)
---
diff --git a/src/gs-app-row.c b/src/gs-app-row.c
index bcf72d22..f2be0d72 100644
--- a/src/gs-app-row.c
+++ b/src/gs-app-row.c
@@ -55,7 +55,6 @@ typedef struct
gboolean show_folders;
gboolean show_buttons;
gboolean show_source;
- gboolean show_codec;
gboolean show_update;
gboolean show_installed_size;
gboolean selectable;
@@ -764,15 +763,6 @@ gs_app_row_set_show_source (GsAppRow *app_row, gboolean show_source)
gs_app_row_refresh (app_row);
}
-void
-gs_app_row_set_show_codec (GsAppRow *app_row, gboolean show_codec)
-{
- GsAppRowPrivate *priv = gs_app_row_get_instance_private (app_row);
-
- priv->show_codec = show_codec;
- gs_app_row_refresh (app_row);
-}
-
void
gs_app_row_set_show_installed_size (GsAppRow *app_row, gboolean show_size)
{
diff --git a/src/gs-app-row.h b/src/gs-app-row.h
index 734e00d0..035555f9 100644
--- a/src/gs-app-row.h
+++ b/src/gs-app-row.h
@@ -53,8 +53,6 @@ void gs_app_row_set_show_sandbox (GsAppRow *app_row,
gboolean show_sandbox);
void gs_app_row_set_show_source (GsAppRow *app_row,
gboolean show_source);
-void gs_app_row_set_show_codec (GsAppRow *app_row,
- gboolean show_codec);
void gs_app_row_set_show_update (GsAppRow *app_row,
gboolean show_update);
void gs_app_row_set_selectable (GsAppRow *app_row,
diff --git a/src/gs-extras-page.c b/src/gs-extras-page.c
index 76359c13..e791a8db 100644
--- a/src/gs-extras-page.c
+++ b/src/gs-extras-page.c
@@ -293,7 +293,7 @@ gs_extras_page_add_app (GsExtrasPage *self, GsApp *app, SearchData *search_data)
}
app_row = gs_app_row_new (app);
- gs_app_row_set_show_codec (GS_APP_ROW (app_row), TRUE);
+ gs_app_row_set_show_buttons (GS_APP_ROW (app_row), TRUE);
g_object_set_data_full (G_OBJECT (app_row), "missing-title", g_strdup (search_data->title), g_free);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]