Index: src/gnome-terminal.schemas.in
===================================================================
RCS file: /cvs/gnome/gnome-terminal/src/gnome-terminal.schemas.in,v
retrieving revision 1.43
diff -u -p -r1.43 gnome-terminal.schemas.in
--- src/gnome-terminal.schemas.in	5 Jan 2006 15:39:17 -0000	1.43
+++ src/gnome-terminal.schemas.in	9 Jan 2006 13:57:49 -0000
@@ -111,7 +111,19 @@
       </locale>
     </schema>
  
-
+    <schema>
+      <key>/schemas/apps/gnome-terminal/global/tab_position</key>
+      <applyto>/apps/gnome-terminal/global/tab_position</applyto>
+      <owner>gnome-terminal</owner>
+      <type>string</type>
+      <default>top</default>
+      <locale name="C">
+         <short>Position of the tabs.</short>
+         <long>
+	 Where to put the tabs. Possible strings are "top" and "bottom".
+         </long>
+      </locale>
+    </schema>
 
 
     <!-- Per-profile settings -->
Index: src/terminal-window.c
===================================================================
RCS file: /cvs/gnome/gnome-terminal/src/terminal-window.c,v
retrieving revision 1.120
diff -u -p -r1.120 terminal-window.c
--- src/terminal-window.c	9 Jan 2006 02:16:31 -0000	1.120
+++ src/terminal-window.c	9 Jan 2006 13:57:51 -0000
@@ -77,6 +77,7 @@ struct _TerminalWindowPrivate
   char *startup_id;
   guint menubar_visible : 1;
   guint use_default_menubar_visibility : 1;
+  char *tab_position;        /* tab position */
   guint use_mnemonics : 1;   /* config key value */
   guint using_mnemonics : 1; /* current menubar state */
 
@@ -1243,6 +1244,7 @@ terminal_window_new (GConfClient *conf)
   TerminalWindow *window;
   GError *err;
   gboolean use_mnemonics;
+  char *tab_position;
   
   window = g_object_new (TERMINAL_TYPE_WINDOW, NULL);
   g_signal_connect (G_OBJECT (window), "realize", G_CALLBACK (terminal_window_realized_callback), NULL);
@@ -1264,7 +1266,22 @@ terminal_window_new (GConfClient *conf)
     {
       window->priv->use_mnemonics = use_mnemonics;
     }
-  
+
+  tab_position = gconf_client_get_string (window->priv->conf,
+                             CONF_GLOBAL_PREFIX"/tab_position",
+                             NULL);
+  
+  if (tab_position && strcmp (tab_position, "bottom") == 0) 
+  {
+    gtk_notebook_set_tab_pos (GTK_NOTEBOOK (window->priv->notebook), GTK_POS_BOTTOM);
+    window->priv->tab_position = tab_position;
+  }
+  else
+  {
+    gtk_notebook_set_tab_pos (GTK_NOTEBOOK (window->priv->notebook), GTK_POS_TOP);
+    window->priv->tab_position = "top";
+  }
+
   err = NULL;
   window->priv->notify_id =
     gconf_client_notify_add (window->priv->conf,
