[ fixes bug #25958 ] use FULL_NAME in the case where we're untoggling a

2002-08-01  Chris Toshok  <toshok@ximian.com>

	[ fixes bug #25958 ]
	* gui/component/addressbook.c (alphabet_state_changed): use
	FULL_NAME in the case where we're untoggling a letter, and... well
	use FULL_NAME in the other case too - we should never pop up the
	advanced dialog.

svn path=/trunk/; revision=17683
This commit is contained in:
Chris Toshok
2002-08-02 00:58:54 +00:00
committed by Chris Toshok
parent 82f09c66c5
commit 63f0feb664
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2002-08-01 Chris Toshok <toshok@ximian.com>
[ fixes bug #25958 ]
* gui/component/addressbook.c (alphabet_state_changed): use
FULL_NAME in the case where we're untoggling a letter, and... well
use FULL_NAME in the other case too - we should never pop up the
advanced dialog.
2002-08-01 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names.h (struct

View File

@ -738,10 +738,10 @@ alphabet_state_changed (EAddressbookView *eav, gunichar letter, AddressbookView
{
view->ignore_search_changes = TRUE;
if (letter == 0) {
e_search_bar_set_item_id (view->search, ESB_ANY);
e_search_bar_set_item_id (view->search, ESB_FULL_NAME);
e_search_bar_set_text (view->search, "");
} else {
e_search_bar_set_item_id (view->search, ESB_ADVANCED);
e_search_bar_set_item_id (view->search, ESB_FULL_NAME);
}
view->ignore_search_changes = FALSE;
}