Handle middle mouse clicks on breadcrumbs

Also, don't act on button releases happening outside the widget.
This commit is contained in:
2022-01-07 05:30:19 +01:00
parent 06ab13797d
commit 235af37382
2 changed files with 38 additions and 9 deletions

3
fiv.c
View File

@@ -1431,8 +1431,7 @@ main(int argc, char *argv[])
gtk_container_set_focus_hadjustment(GTK_CONTAINER(browser_port), NULL);
gtk_container_set_focus_vadjustment(GTK_CONTAINER(browser_port), NULL);
// TODO(p): As with GtkFileChooserWidget, bind C-h to filtering,
// and mayhaps forward the rest to the sidebar, somehow.
// TODO(p): Mayhaps forward some key presses to the sidebar, somehow.
g.browser_sidebar = make_browser_sidebar(g.model);
g.browser_paned = gtk_paned_new(GTK_ORIENTATION_HORIZONTAL);