aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/table/e-table-config.c3
-rw-r--r--widgets/table/e-table-header-item.c3
2 files changed, 6 insertions, 0 deletions
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);
}
diff --git a/widgets/table/e-table-header-item.c b/widgets/table/e-table-header-item.c
index 3735011dc8..c27108b8d7 100644
--- a/widgets/table/e-table-header-item.c
+++ b/widgets/table/e-table-header-item.c
@@ -1426,6 +1426,9 @@ apply_changes (ETableConfig *config, ETableHeaderItem *ethi)
if (ethi->tree)
e_tree_set_state (ethi->tree, state);
g_free (state);
+
+ gtk_dialog_set_response_sensitive (GTK_DIALOG (config->dialog_toplevel),
+ GTK_RESPONSE_APPLY, FALSE);
}
static void