[evolution] I#810 - List View: Use uniform row height in Calendar and Contacts



commit 49d86d7c93d5549d03e02af625359a49b2d19970
Author: Milan Crha <mcrha redhat com>
Date:   Wed Feb 26 17:41:40 2020 +0100

    I#810 - List View: Use uniform row height in Calendar and Contacts
    
    Closes https://gitlab.gnome.org/GNOME/evolution/issues/810

 src/addressbook/gui/widgets/e-addressbook-view.c | 1 +
 src/calendar/gui/e-cal-list-view.c               | 1 +
 2 files changed, 2 insertions(+)
---
diff --git a/src/addressbook/gui/widgets/e-addressbook-view.c 
b/src/addressbook/gui/widgets/e-addressbook-view.c
index 437831a9a5..5ab36fdd23 100644
--- a/src/addressbook/gui/widgets/e-addressbook-view.c
+++ b/src/addressbook/gui/widgets/e-addressbook-view.c
@@ -319,6 +319,7 @@ addressbook_view_create_table_view (EAddressbookView *view,
         * the table we've created, the header, the model, and the
         * initial layout.  It does the rest.  */
        widget = e_table_new (adapter, extras, specification);
+       g_object_set (G_OBJECT (widget), "uniform-row-height", TRUE, NULL);
        gtk_container_add (GTK_CONTAINER (view), widget);
 
        g_object_unref (specification);
diff --git a/src/calendar/gui/e-cal-list-view.c b/src/calendar/gui/e-cal-list-view.c
index d8574b5d1d..c3e4a9d9fd 100644
--- a/src/calendar/gui/e-cal-list-view.c
+++ b/src/calendar/gui/e-cal-list-view.c
@@ -335,6 +335,7 @@ setup_e_table (ECalListView *cal_list_view)
        }
 
        widget = e_table_new (E_TABLE_MODEL (model), extras, specification);
+       g_object_set (G_OBJECT (widget), "uniform-row-height", TRUE, NULL);
        gtk_container_add (GTK_CONTAINER (container), widget);
        cal_list_view->priv->table = E_TABLE (widget);
        gtk_widget_show (widget);


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