diff options
Diffstat (limited to 'widgets/table/e-table-config.c')
-rw-r--r-- | widgets/table/e-table-config.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/widgets/table/e-table-config.c b/widgets/table/e-table-config.c index c33290b227..93dd0d31cf 100644 --- a/widgets/table/e-table-config.c +++ b/widgets/table/e-table-config.c @@ -726,6 +726,12 @@ setup_gui (ETableConfig *config) gtk_signal_connect ( GTK_OBJECT (config->dialog_toplevel), "apply", GTK_SIGNAL_FUNC (dialog_apply), config); + + if (!e_table_sort_info_get_can_group (config->state->sort_info)) { + GtkWidget *button = glade_xml_get_widget (gui, "button-group"); + gtk_widget_hide (button); + gtk_widget_hide (config->group_label); + } gtk_object_unref (GTK_OBJECT (gui)); } |