[gnome-terminal] notebook: Make tabs nondetachable



commit a8c24149a2c86d5cba9d7702abd0ae32eec30f6a
Author: Christian Persch <chpe gnome org>
Date:   Sat Jan 10 15:36:35 2015 +0100

    notebook: Make tabs nondetachable
    
    Because of https://bugzilla.gnome.org/show_bug.cgi?id=732051 in gtk+,
    detaching a tab may lead to a crash of gnome-terminal-server. Until that
    bug is fixed, disable tab detaching.

 src/terminal-notebook.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/terminal-notebook.c b/src/terminal-notebook.c
index 81005c5..71a1508 100644
--- a/src/terminal-notebook.c
+++ b/src/terminal-notebook.c
@@ -108,7 +108,9 @@ terminal_notebook_add_screen (TerminalMdiContainer *container,
                            "tab-fill", TRUE,
                            NULL);
   gtk_notebook_set_tab_reorderable (gtk_notebook, screen_container, TRUE);
+#if 0
   gtk_notebook_set_tab_detachable (gtk_notebook, screen_container, TRUE);
+#endif
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]