Compose window: Fix bug #3421 - Recipients list doesn't scroll when moving with arrow...
authorAndrej Kacian <ticho@claws-mail.org>
Wed, 22 Apr 2015 16:31:46 +0000 (18:31 +0200)
committerAndrej Kacian <ticho@claws-mail.org>
Wed, 22 Apr 2015 16:31:46 +0000 (18:31 +0200)
src/compose.c

index ab951c4..fa5a05c 100644 (file)
@@ -7086,6 +7086,8 @@ static GtkWidget *compose_create_header(Compose *compose)
        gtk_widget_show(header_table);
        gtk_container_set_border_width(GTK_CONTAINER(header_table), 0);
        gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(header_scrolledwin), header_table);
+       gtk_container_set_focus_vadjustment(GTK_CONTAINER(header_table),
+                       gtk_scrolled_window_get_vadjustment(GTK_SCROLLED_WINDOW(header_scrolledwin)));
        gtk_viewport_set_shadow_type(GTK_VIEWPORT(gtk_bin_get_child(GTK_BIN(header_scrolledwin))), GTK_SHADOW_NONE);
 
        gtk_table_attach(GTK_TABLE(header_table_main), header_scrolledwin,