From 240bdec15b67fad09e0213974cfe1f6b9f6587e1 Mon Sep 17 00:00:00 2001 From: Charles Zhang Date: Mon, 3 Nov 2003 13:40:49 +0000 Subject: disable apply button when initial dialog. disable apply button after 2003-10-13 Charles Zhang * e-table-config.c (e_table_config_new): disable apply button when initial dialog. * e-table-header-item.c (apply_changes): disable apply button after applying changes. svn path=/trunk/; revision=23168 --- widgets/table/e-table-config.c | 3 +++ 1 file changed, 3 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 9d8afdb20b..4ec25b0900 100644 --- a/widgets/table/e-table-config.c +++ b/widgets/table/e-table-config.c @@ -1182,7 +1182,10 @@ e_table_config_new (const char *header, return NULL; } + gtk_dialog_set_response_sensitive (GTK_DIALOG (config->dialog_toplevel), + GTK_RESPONSE_APPLY, FALSE); gtk_widget_show (config->dialog_toplevel); + return E_TABLE_CONFIG (config); } -- cgit