[epiphany/gnome-3-34] Set non detachable state for pinned tabs



commit e94d9b3f0875ee125687d878c086b94662639e9f
Author: Jan-Michael Brummer <jan brummer tabos org>
Date:   Wed Nov 6 11:34:46 2019 +0000

    Set non detachable state for pinned tabs
    
    Fixes: https://gitlab.gnome.org/GNOME/epiphany/issues/969
    
    
    (cherry picked from commit 77573686423cf15807e0a3b652793de0295c0f9a)

 src/ephy-notebook.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/ephy-notebook.c b/src/ephy-notebook.c
index 2a212a96a..f3a51deee 100644
--- a/src/ephy-notebook.c
+++ b/src/ephy-notebook.c
@@ -1010,6 +1010,7 @@ ephy_notebook_tab_set_pinned (EphyNotebook *notebook,
   gboolean expanded;
 
   gtk_notebook_set_tab_reorderable (GTK_NOTEBOOK (notebook), embed, !is_pinned);
+  gtk_notebook_set_tab_detachable (GTK_NOTEBOOK (notebook), embed, !is_pinned);
   tab_label = gtk_notebook_get_tab_label (GTK_NOTEBOOK (notebook), embed);
   ephy_tab_label_set_pinned (tab_label, is_pinned);
 


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