From f90268e273dc75f8be194a3af4ecf17d7d269e6c Mon Sep 17 00:00:00 2001 From: Not Zed Date: Thu, 28 Oct 2004 04:05:31 +0000 Subject: revert the last change. 2004-10-28 Not Zed * e-config.c (ec_rebuild): revert the last change. svn path=/trunk/; revision=27748 --- e-util/ChangeLog | 4 ++++ e-util/e-config.c | 7 ++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/e-util/ChangeLog b/e-util/ChangeLog index 77dcd4d1d4..93acfbf80c 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,3 +1,7 @@ +2004-10-28 Not Zed + + * e-config.c (ec_rebuild): revert the last change. + 2004-10-28 Not Zed * e-config.c (ec_rebuild): set the default row/col spacings of the diff --git a/e-util/e-config.c b/e-util/e-config.c index ebc7979632..f4e3493c66 100644 --- a/e-util/e-config.c +++ b/e-util/e-config.c @@ -635,7 +635,7 @@ ec_rebuild(EConfig *emp) if (section && ((item->type == E_CONFIG_SECTION && !GTK_IS_BOX(section)) || (item->type == E_CONFIG_SECTION_TABLE && !GTK_IS_TABLE(section)))) - g_warning("ECofnig section type is wrong"); + g_warning("EConfig section type is wrong"); } else if (wn->widget == NULL) { GtkWidget *frame; GtkWidget *label = NULL; @@ -652,11 +652,8 @@ ec_rebuild(EConfig *emp) if (item->type == E_CONFIG_SECTION) section = gtk_vbox_new(FALSE, 6); - else { + else section = gtk_table_new(1, 1, FALSE); - gtk_table_set_row_spacings((GtkTable *)section, 6); - gtk_table_set_col_spacings((GtkTable *)section, 6); - } frame = g_object_new(gtk_frame_get_type(), "shadow_type", GTK_SHADOW_NONE, -- cgit v1.2.3