diff options
author | Christopher James Lahey <clahey@ximian.com> | 2002-06-11 05:13:11 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2002-06-11 05:13:11 +0800 |
commit | 524e3509c4a17958387308b3674548f7166610d6 (patch) | |
tree | 569904a6b6969ebf6927b792c4755db53fc0c5ae /addressbook/gui | |
parent | b17c20520eb4b1c6a8ad6acd227a4ba08b29a8c2 (diff) | |
download | gsoc2013-evolution-524e3509c4a17958387308b3674548f7166610d6.tar.gz gsoc2013-evolution-524e3509c4a17958387308b3674548f7166610d6.tar.zst gsoc2013-evolution-524e3509c4a17958387308b3674548f7166610d6.zip |
Made expand_uri a bit more robust and readable.
2002-06-10 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-book-util.c (e_book_expand_uri): Made expand_uri
a bit more robust and readable.
(e_book_get_default_book_uri): Made e_book_get_default_book_uri
use e_book_expand_uri if using the bonobo_config value.
* gui/component/e-address-popup.c (start_query): Handle the
failure state here by acting as if there are no matches.
svn path=/trunk/; revision=17159
Diffstat (limited to 'addressbook/gui')
-rw-r--r-- | addressbook/gui/component/e-address-popup.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/addressbook/gui/component/e-address-popup.c b/addressbook/gui/component/e-address-popup.c index 7c04cc0130..553ba642c8 100644 --- a/addressbook/gui/component/e-address-popup.c +++ b/addressbook/gui/component/e-address-popup.c @@ -1131,6 +1131,11 @@ static void start_query (EBook *book, EBookStatus status, gpointer closure) { EAddressPopup *pop = E_ADDRESS_POPUP (closure); + + if (status != E_BOOK_STATUS_SUCCESS) { + e_address_popup_no_matches (pop); + return; + } if (pop->query_tag) e_book_simple_query_cancel (book, pop->query_tag); |