diff options
author | Charles Zhang <charles.zhang@sun.com> | 2003-10-10 15:07:35 +0800 |
---|---|---|
committer | Antonio Xu <anto@src.gnome.org> | 2003-10-10 15:07:35 +0800 |
commit | 84cf30376eab78cdba74e464ea5fae7812194325 (patch) | |
tree | fff329de03837922c681eeafd30dc892549a630e /widgets/table | |
parent | 907f7999167285dcb8bb680d93da09eab94d794c (diff) | |
download | gsoc2013-evolution-84cf30376eab78cdba74e464ea5fae7812194325.tar.gz gsoc2013-evolution-84cf30376eab78cdba74e464ea5fae7812194325.tar.zst gsoc2013-evolution-84cf30376eab78cdba74e464ea5fae7812194325.zip |
process GTK_RESPONSE_DELETE_EVENT signal correctly. the same as above
2003-09-28 Charles Zhang <charles.zhang@sun.com>
* e-table-config.c (do_sort_and_group_config_dialog): process
GTK_RESPONSE_DELETE_EVENT signal correctly.
* e-table-config.c (do_fields_config_dialog): the same as above
[#48815]
svn path=/trunk/; revision=22852
Diffstat (limited to 'widgets/table')
-rw-r--r-- | widgets/table/e-table-config.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/widgets/table/e-table-config.c b/widgets/table/e-table-config.c index 825e28a5a4..9d8afdb20b 100644 --- a/widgets/table/e-table-config.c +++ b/widgets/table/e-table-config.c @@ -442,7 +442,7 @@ do_sort_and_group_config_dialog (ETableConfig *config, gboolean is_sort) config->temp_state->sort_info, 0); } update_sort_and_group_config_dialog (config, is_sort); - continue; + break; case GTK_RESPONSE_OK: g_object_unref (config->state); @@ -452,6 +452,7 @@ do_sort_and_group_config_dialog (ETableConfig *config, gboolean is_sort) config_dialog_changed (config); break; + case GTK_RESPONSE_DELETE_EVENT: case GTK_RESPONSE_CANCEL: g_object_unref (config->temp_state); config->temp_state = 0; @@ -491,7 +492,7 @@ do_fields_config_dialog (ETableConfig *config) config_dialog_changed (config); break; - /* CANCEL */ + case GTK_RESPONSE_DELETE_EVENT: case GTK_RESPONSE_CANCEL: g_object_unref (config->temp_state); config->temp_state = 0; |