aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table/e-table-config.c')
-rw-r--r--widgets/table/e-table-config.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/widgets/table/e-table-config.c b/widgets/table/e-table-config.c
index 36f3faf9d3..030f11b2f1 100644
--- a/widgets/table/e-table-config.c
+++ b/widgets/table/e-table-config.c
@@ -69,6 +69,7 @@ config_destroy (GtkObject *object)
gtk_object_destroy (GTK_OBJECT (config->state));
gtk_object_unref (GTK_OBJECT (config->source_state));
gtk_object_unref (GTK_OBJECT (config->source_spec));
+ g_free (config->header);
g_slist_free (config->column_names);
config->column_names = NULL;
@@ -725,6 +726,9 @@ setup_gui (ETableConfig *config)
config->dialog_toplevel = glade_xml_get_widget (
gui, "e-table-config");
+ if (config->header)
+ gtk_window_set_title (GTK_WINDOW (config->dialog_toplevel), config->header);
+
gtk_widget_hide (GNOME_PROPERTY_BOX(config->dialog_toplevel)->help_button);
gtk_notebook_set_show_tabs (
@@ -785,6 +789,7 @@ e_table_config_construct (ETableConfig *config,
config->source_spec = spec;
config->source_state = state;
+ config->header = g_strdup (header);
gtk_object_ref (GTK_OBJECT (config->source_spec));
gtk_object_ref (GTK_OBJECT (config->source_state));