[gnome-software: 10/13] app-row: Shrink the title only when there is a description
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 10/13] app-row: Shrink the title only when there is a description
- Date: Tue, 10 Aug 2021 07:26:00 +0000 (UTC)
commit 2fdc74da5b5e7a6027f32fcd5bcc9342777374c5
Author: Adrien Plazas <kekun plazas laposte net>
Date: Mon Aug 9 17:17:05 2021 +0200
app-row: Shrink the title only when there is a description
We really want to make the title compact only when there is a
description, otherwise we end up with an oddly packed title and lots of
empty space after it.
src/gs-app-row.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gs-app-row.c b/src/gs-app-row.c
index ae407b77c..268ceb6b5 100644
--- a/src/gs-app-row.c
+++ b/src/gs-app-row.c
@@ -530,7 +530,7 @@ gs_app_row_actually_refresh (GsAppRow *app_row)
!gtk_widget_get_visible (priv->description_box));
gtk_label_set_max_width_chars (GTK_LABEL (priv->name_label),
- gtk_widget_get_visible (priv->description_box) ? 20 : -1);
+ gtk_widget_get_visible (priv->description_label) ? 20 : -1);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]