aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-10-28 12:05:31 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-10-28 12:05:31 +0800
commitf90268e273dc75f8be194a3af4ecf17d7d269e6c (patch)
tree7315b3f5d768d183607d01dbddf6723b560226f0
parent13a2dae5153c9071cc35bc2df50722fcdacec71f (diff)
downloadgsoc2013-evolution-f90268e273dc75f8be194a3af4ecf17d7d269e6c.tar.gz
gsoc2013-evolution-f90268e273dc75f8be194a3af4ecf17d7d269e6c.tar.zst
gsoc2013-evolution-f90268e273dc75f8be194a3af4ecf17d7d269e6c.zip
revert the last change.
2004-10-28 Not Zed <NotZed@Ximian.com> * e-config.c (ec_rebuild): revert the last change. svn path=/trunk/; revision=27748
-rw-r--r--e-util/ChangeLog4
-rw-r--r--e-util/e-config.c7
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,5 +1,9 @@
2004-10-28 Not Zed <NotZed@Ximian.com>
+ * e-config.c (ec_rebuild): revert the last change.
+
+2004-10-28 Not Zed <NotZed@Ximian.com>
+
* e-config.c (ec_rebuild): set the default row/col spacings of the
table.
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,