From 63f0feb6647e76dfea69f588959ef00a5fa9c1fe Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Fri, 2 Aug 2002 00:58:54 +0000 Subject: [ fixes bug #25958 ] use FULL_NAME in the case where we're untoggling a 2002-08-01 Chris Toshok [ 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 --- addressbook/ChangeLog | 8 ++++++++ addressbook/gui/component/addressbook.c | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'addressbook') diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 218d3164ca..928468ad2f 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,11 @@ +2002-08-01 Chris Toshok + + [ 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 * gui/component/select-names/e-select-names.h (struct diff --git a/addressbook/gui/component/addressbook.c b/addressbook/gui/component/addressbook.c index 83b4f294ae..5a84addd3e 100644 --- a/addressbook/gui/component/addressbook.c +++ b/addressbook/gui/component/addressbook.c @@ -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; } -- cgit v1.2.3