From b19ec11b258318f2416e4efbd7b0f1c5a3429067 Mon Sep 17 00:00:00 2001 From: mutantturkey Date: Mon, 26 Apr 2010 08:09:14 -0400 Subject: set tabs to reorderable --- mt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mt.c b/mt.c index ed7e510..3e8d9ae 100644 --- a/mt.c +++ b/mt.c @@ -76,6 +76,7 @@ static void tab_new() { t->vte = vte_terminal_new(); vte_terminal_fork_command(VTE_TERMINAL(t->vte), NULL, NULL, NULL, NULL, FALSE, FALSE, FALSE); int index = gtk_notebook_append_page(GTK_NOTEBOOK(mt.notebook), t->vte, t->label); + gtk_notebook_set_tab_reorderable(GTK_NOTEBOOK(mt.notebook), t->vte, TRUE); if (index == 0) { gtk_notebook_set_show_tabs(GTK_NOTEBOOK(mt.notebook), FALSE); @@ -104,7 +105,6 @@ static void config(){ gtk_container_add (GTK_CONTAINER(mt.win), mt.notebook); tab_new(); gtk_widget_show_all(mt.win); - g_signal_connect (G_OBJECT (mt.win), "destroy", G_CALLBACK (quit), NULL); g_signal_connect(mt.win, "key-press-event", G_CALLBACK(key_press_cb), NULL); -- cgit v1.2.3