diff src/buddy.c @ 3032:d3536105d581

[gaim-migrate @ 3045] Thanks, Jason Willis. I don't really like the tabs at the bottom, looks weird to me. But hey, others seem to like it so that's cool with me. committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Tue, 12 Mar 2002 02:44:22 +0000
parents 7239a392486c
children 1143524a2eaf
line wrap: on
line diff
--- a/src/buddy.c	Mon Mar 11 23:02:54 2002 +0000
+++ b/src/buddy.c	Tue Mar 12 02:44:22 2002 +0000
@@ -497,6 +497,19 @@
 	}
 }
 
+void set_blist_tab()
+{
+	GtkWidget *blist_notebook;
+
+	blist_notebook = buddypane->parent;  /* The "Online" Page */
+
+	debug_printf("blist_options = %d\n", blist_options);
+	if((blist_options & OPT_BLIST_BOTTOM_TAB))
+		gtk_notebook_set_tab_pos(GTK_NOTEBOOK(blist_notebook), GTK_POS_BOTTOM);
+	else
+		gtk_notebook_set_tab_pos(GTK_NOTEBOOK(blist_notebook), GTK_POS_TOP);
+
+}
 
 
 #ifdef USE_APPLET
@@ -2657,6 +2670,9 @@
 	label = gtk_label_new(_("Edit Buddies"));
 	gtk_notebook_append_page(GTK_NOTEBOOK(notebook), editpane, label);
 
+	if(blist_options & OPT_BLIST_BOTTOM_TAB)
+		gtk_notebook_set_tab_pos(GTK_NOTEBOOK(notebook), GTK_POS_BOTTOM);
+	
 	gtk_widget_show_all(notebook);
 
 	/* Pack things in the vbox */