From 4756b2cd7f8bd09df94e52d8ba960bfea64db63f Mon Sep 17 00:00:00 2001 From: "Ira W. Snyder" Date: Tue, 18 Mar 2008 22:23:31 -0700 Subject: [PATCH] [Window] Fix tab ordering Previously, the tabs represeting TildaTerminals were prepended to the GtkNotebook, rather than appended. This made the first tab opened always be at the last tab's position, etc. This fixes the behavior and makes the tabs open from left to right, which is natural. --- tilda-window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tilda-window.c b/tilda-window.c index f4be2d8..d2ebc18 100644 --- a/tilda-window.c +++ b/tilda-window.c @@ -122,7 +122,7 @@ tilda_window_add_terminal (TildaWindow *self) g_ptr_array_add (self->terms, tt); label = gtk_label_new ("Tilda"); - notebook_index = gtk_notebook_prepend_page (GTK_NOTEBOOK(self->notebook), tt->hbox, label); + notebook_index = gtk_notebook_append_page (GTK_NOTEBOOK(self->notebook), tt->hbox, label); gtk_notebook_set_tab_label_packing (GTK_NOTEBOOK(self->notebook), tt->hbox, self->full_width_tabs, TRUE, GTK_PACK_START); gtk_notebook_set_current_page (GTK_NOTEBOOK(self->notebook), notebook_index); -- 2.25.1