Skip to content

Commit 38742fc

Browse files
author
Rik Wehbring
committed
After changing category of address book the default focus is now on the
quick find entry widget. This matches the behavior of what happens when a user cycles through categories using the AddressBook icon on the left- hand side.
1 parent cf4bdb0 commit 38742fc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

address_gui.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $Id: address_gui.c,v 1.221 2008/10/30 15:07:12 rousseau Exp $ */
1+
/* $Id: address_gui.c,v 1.222 2008/12/09 02:33:21 rikster5 Exp $ */
22

33
/*******************************************************************************
44
* address_gui.c
@@ -2244,6 +2244,8 @@ static void cb_category(GtkWidget *item, int selection)
22442244
jp_logf(JP_LOG_DEBUG, "address_category = %d\n",address_category);
22452245
address_update_clist(clist, category_menu1, &glob_contact_list,
22462246
address_category, TRUE);
2247+
/* gives the focus to the search field */
2248+
gtk_widget_grab_focus(address_quickfind_entry);
22472249
}
22482250
}
22492251

0 commit comments

Comments
 (0)