aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-11-18 18:53:20 +0800
committerMilan Crha <mcrha@redhat.com>2009-11-18 18:53:20 +0800
commit6ca624a22faacb084acad4087897540ac7ff1bd9 (patch)
tree052e593b03669f2903e5aaeb1ed428d282d3d2f9 /widgets/table/e-table.c
parent05e48a6b929f16a102efd182b7a2e611aad9e4fb (diff)
downloadgsoc2013-evolution-6ca624a22faacb084acad4087897540ac7ff1bd9.tar.gz
gsoc2013-evolution-6ca624a22faacb084acad4087897540ac7ff1bd9.tar.zst
gsoc2013-evolution-6ca624a22faacb084acad4087897540ac7ff1bd9.zip
Bug #590127 - Define ETable::vertical-spacing style property
Diffstat (limited to 'widgets/table/e-table.c')
-rw-r--r--widgets/table/e-table.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c
index 96e5e57d7b..f5cd6c0d16 100644
--- a/widgets/table/e-table.c
+++ b/widgets/table/e-table.c
@@ -3346,6 +3346,15 @@ e_table_class_init (ETableClass *class)
E_TABLE_MODEL_TYPE,
G_PARAM_READABLE));
+ gtk_widget_class_install_style_property (widget_class,
+ g_param_spec_int ("vertical-spacing",
+ _("Vertical Row Spacing"),
+ _("Vertical space between rows. It is added to top and to bottom of a row"),
+ 0,
+ G_MAXINT,
+ 3,
+ G_PARAM_READABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
+
gal_a11y_e_table_init ();
}