[gnome-software: 10/13] installed-page: Don't show the description




commit f869b4722e63264b5dd3847dff48244e1377f7a9
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Thu Jun 24 12:23:19 2021 +0200

    installed-page: Don't show the description
    
    This matches the latest designs. As forced wdith is now way too wide,
    this uses the default clamp width instead.

 src/gs-installed-page.c  | 2 ++
 src/gs-installed-page.ui | 2 --
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gs-installed-page.c b/src/gs-installed-page.c
index ffce29c25..967abf932 100644
--- a/src/gs-installed-page.c
+++ b/src/gs-installed-page.c
@@ -244,6 +244,8 @@ gs_installed_page_add_app (GsInstalledPage *self, GsAppList *list, GsApp *app)
                                    self->sizegroup_desc,
                                    self->sizegroup_button);
 
+       gs_app_row_set_show_description (GS_APP_ROW (app_row), FALSE);
+
        /* only show if is an actual application */
        gtk_widget_set_visible (app_row, gs_installed_page_is_actual_app (app));
 }
diff --git a/src/gs-installed-page.ui b/src/gs-installed-page.ui
index d9db8235b..7f0f9cb5c 100644
--- a/src/gs-installed-page.ui
+++ b/src/gs-installed-page.ui
@@ -42,8 +42,6 @@
                 <child>
                   <object class="HdyClamp" id="gs_fixed_bin">
                     <property name="visible">True</property>
-                    <property name="maximum-size">860</property>
-                    <property name="tightening-threshold">860</property>
                     <child>
                       <object class="GtkBox">
                         <property name="visible">True</property>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]