[evolution] I#1586 - ETable: Grouping by column misplaces group content
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] I#1586 - ETable: Grouping by column misplaces group content
- Date: Fri, 17 Sep 2021 09:25:45 +0000 (UTC)
commit 8e88e622869fc35330dc959307e366181a2a148e
Author: Milan Crha <mcrha redhat com>
Date: Fri Sep 17 11:24:50 2021 +0200
I#1586 - ETable: Grouping by column misplaces group content
That being caused by the uniform row height use. Let the ETable
use the value only if not grouping the rows.
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/1586
src/e-util/e-table.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/e-util/e-table.c b/src/e-util/e-table.c
index 05bea36703..2ca1a912ef 100644
--- a/src/e-util/e-table.c
+++ b/src/e-util/e-table.c
@@ -1119,7 +1119,7 @@ et_build_groups (ETable *et)
"drawfocus", et->draw_focus,
"cursor_mode", et->cursor_mode,
"length_threshold", et->length_threshold,
- "uniform_row_height", et->uniform_row_height,
+ "uniform_row_height", et->uniform_row_height && !et->is_grouped,
"selection_model", et->selection,
NULL);
@@ -2208,8 +2208,7 @@ et_set_property (GObject *object,
if (etable->group) {
gnome_canvas_item_set (
GNOME_CANVAS_ITEM (etable->group),
- "uniform_row_height",
- etable->uniform_row_height,
+ "uniform_row_height", etable->uniform_row_height && !etable->is_grouped,
NULL);
}
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]