From a014ee43098b151f622d10fca6fd426badfb16c6 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Tue, 11 Dec 2001 10:10:02 +0000 Subject: Merging files: 2001-12-06 Christopher James Lahey * e-table-config.c, e-table-config.h (setup_gui): Set the title of the window here. * e-table-header-item.c (ethi_popup_customize_view): Use a useful string for the header here. svn path=/trunk/; revision=14975 --- widgets/table/e-table-config.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'widgets/table/e-table-config.c') 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)); -- cgit