talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 7975defae6a05b78d287553acd5d221d6663286b
parent 8cd37924361f25a51c2c8a44cbb0b2415e75abb8
Author: Andrej Kacian <andrej@kacian.sk>
Date:   Wed, 18 Jun 2014 21:03:54 +0200

In compose window, prevent account selection combobox to get focus when navigating widgets using arrow keys. Closes bug #3216.

Diffstat:
Msrc/compose.c | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/compose.c b/src/compose.c @@ -8101,6 +8101,11 @@ static GtkWidget *compose_account_option_menu_create(Compose *compose) gtk_box_pack_start(GTK_BOX(hbox), optmenubox, FALSE, FALSE, 0); gtk_box_pack_start(GTK_BOX(hbox), from_name, TRUE, TRUE, 0); + + GList *l = NULL; + l = g_list_prepend(l, from_name); + gtk_container_set_focus_chain(GTK_CONTAINER(hbox), l); + g_list_free(l); CLAWS_SET_TIP(optmenubox, _("Account to use for this email"));