diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2022-01-09 10:09:06 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2022-01-10 11:53:15 +0100 |
commit | 1a190001fc541c645166e8997f4bb3408835dd1f (patch) | |
tree | 60e6ee2aec0142ec0ac05d9d0641aef8d2c5a93a /fiv.c | |
parent | 3bf41993a3d099ba33a2cdc30a15693fddc7722f (diff) | |
download | fiv-1a190001fc541c645166e8997f4bb3408835dd1f.tar.gz fiv-1a190001fc541c645166e8997f4bb3408835dd1f.tar.xz fiv-1a190001fc541c645166e8997f4bb3408835dd1f.zip |
Make the browser implement its own scrollable
It's quite rough around the edges so far.
Diffstat (limited to 'fiv.c')
-rw-r--r-- | fiv.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -1709,11 +1709,6 @@ main(int argc, char *argv[]) G_CALLBACK(on_item_activated), NULL); gtk_container_add(GTK_CONTAINER(g.browser_scroller), g.browser); - // Christ, no, do not scroll all the way to the top on focus. - GtkWidget *browser_port = gtk_bin_get_child(GTK_BIN(g.browser_scroller)); - gtk_container_set_focus_hadjustment(GTK_CONTAINER(browser_port), NULL); - gtk_container_set_focus_vadjustment(GTK_CONTAINER(browser_port), NULL); - g.browser_sidebar = make_browser_sidebar(g.model); g.browser_paned = gtk_paned_new(GTK_ORIENTATION_HORIZONTAL); gtk_paned_add1(GTK_PANED(g.browser_paned), g.browser_sidebar); |