GTK docking interfaces and more

By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.

Dismiss

Document some research

roundabout,
created on Sunday, 22 June 2025, 19:48:55 (1750621735), received on Sunday, 22 June 2025, 19:48:58 (1750621738)
Author identity: vlad <vlad.muntoiu@gmail.com>

c953d770aa72721a42a685a07ba7947f95e44601

panthera-www.cc

@@ -670,6 +670,9 @@ protected:

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                    new_tab_action->signal_activate().connect([this](const Glib::VariantBase&) {
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                        on_new_tab(nullptr);
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                    });
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                // Known bug <https://gitlab.gnome.org/GNOME/epiphany/-/issues/2714>:
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                // JS can't veto the application's accelerators using `preventDefault()`. This is
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                // not possible in WebKitGTK, or at least I can't find a way to do it.
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                    add_action(new_tab_action);
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                    set_accels_for_action("app.new_tab", {"<Primary>T"});
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                    auto close_tab_action = Gio::SimpleAction::create("close_tab");