From ca852ba2dea7c1716d22aa919dab07ca0b76d8ee Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Fri, 24 Feb 2006 07:56:58 +0000 Subject: Fixed bug #332408 svn path=/trunk/; revision=31575 --- widgets/table/ChangeLog | 9 ++++++++ widgets/table/e-table-config.c | 47 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) (limited to 'widgets') diff --git a/widgets/table/ChangeLog b/widgets/table/ChangeLog index 590c5ca5eb..6bb2698e4e 100644 --- a/widgets/table/ChangeLog +++ b/widgets/table/ChangeLog @@ -1,3 +1,12 @@ +2006-02-24 Srinivasa Ragavan + + ** Fixes bug #332408 + + * e-table-config.c: (e_table_proxy_etable_shown_new), + (e_table_proxy_etable_available_new): Reverting the patch that fixes + some compiler warning. The function is referred from the glade file, + which was removed. + 2006-02-14 Srinivasa Ragavan ** Fixes bug #328283 diff --git a/widgets/table/e-table-config.c b/widgets/table/e-table-config.c index 38d52b15ab..d7553e8804 100644 --- a/widgets/table/e-table-config.c +++ b/widgets/table/e-table-config.c @@ -539,6 +539,53 @@ create_global_store (ETableConfig *config) } } +char *spec = "" +"" +" " +"" +"" +""; + +GtkWidget *e_table_proxy_etable_shown_new (void); + +GtkWidget * +e_table_proxy_etable_shown_new (void) +{ + ETableModel *model = NULL; + GtkWidget *widget; + ETableScrolled *ets; + + model = e_table_subset_variable_new (global_store); + + widget = e_table_scrolled_new (model, NULL, spec, NULL); + ets = E_TABLE_SCROLLED (widget); + atk_object_set_name (gtk_widget_get_accessible ((GtkWidget *)ets->table), _("Show Fields")); + + return widget; +} + +GtkWidget *e_table_proxy_etable_available_new (void); + +GtkWidget * +e_table_proxy_etable_available_new (void) +{ + ETableModel *model; + GtkWidget *widget; + ETableScrolled *ets; + + model = e_table_without_new (global_store, + NULL, NULL, NULL, NULL, NULL, NULL, NULL); + + e_table_without_show_all (E_TABLE_WITHOUT (model)); + + widget = e_table_scrolled_new (model, NULL, spec, NULL); + ets = E_TABLE_SCROLLED (widget); + atk_object_set_name (gtk_widget_get_accessible ((GtkWidget *)ets->table), _("Available Fields")); + + return widget; +} + static void config_button_fields (GtkWidget *widget, ETableConfig *config) { -- cgit