diff options
author | mutantturkey <crazycal00@gmail.com> | 2010-04-26 08:09:14 -0400 |
---|---|---|
committer | mutantturkey <crazycal00@gmail.com> | 2010-04-26 08:09:14 -0400 |
commit | b19ec11b258318f2416e4efbd7b0f1c5a3429067 (patch) | |
tree | a7b0bac7a141ce4037ba8c117a83f1f5d74e0dd9 /mt.c | |
parent | 41690be3c3a78f7e14f59137c3c51ff12b3e73a1 (diff) |
set tabs to reorderable
Diffstat (limited to 'mt.c')
-rw-r--r-- | mt.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |