[gnome-terminal/gnome-3-20] notebook: Make tabs nondetachable



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

    notebook: Make tabs nondetachable
    
    It seems detaching a tab via DND is crashing in gtk+ again.
    Until that is fixed, disable tab DND detaching.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=769161
    https://bugzilla.gnome.org/show_bug.cgi?id=767588
    (cherry picked from commit 10e164d8f7f7c95710cee7aba1a031250d64d423)

 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 9d488fc..392c978 100644
--- a/src/terminal-notebook.c
+++ b/src/terminal-notebook.c
@@ -137,7 +137,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]