diff options
author | Srinivasa Ragavan <sragavan@novell.com> | 2005-07-06 12:11:14 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@src.gnome.org> | 2005-07-06 12:11:14 +0800 |
commit | 4d41f5fc92fa62785cdde58fd81c136960490363 (patch) | |
tree | 2feca051279067d04763d8c423ad4a4cffcfe287 /addressbook/gui/widgets/eab-popup.c | |
parent | e7faa9958236bf7f91f9c55c3cec4ecca87cd3c8 (diff) | |
download | gsoc2013-evolution-4d41f5fc92fa62785cdde58fd81c136960490363.tar gsoc2013-evolution-4d41f5fc92fa62785cdde58fd81c136960490363.tar.gz gsoc2013-evolution-4d41f5fc92fa62785cdde58fd81c136960490363.tar.bz2 gsoc2013-evolution-4d41f5fc92fa62785cdde58fd81c136960490363.tar.lz gsoc2013-evolution-4d41f5fc92fa62785cdde58fd81c136960490363.tar.xz gsoc2013-evolution-4d41f5fc92fa62785cdde58fd81c136960490363.tar.zst gsoc2013-evolution-4d41f5fc92fa62785cdde58fd81c136960490363.zip |
Fixed for bug 309245. Fixes the bug 206774, 242154. Fixes the bug 206774,
2005-07-06 Srinivasa Ragavan <sragavan@novell.com>
* gui/widgets/eab-gui-util.c: (contact_added_cb): Fixed for bug
309245.
* /gui/widgets/e-addressbook-view.c: Fixes the bug 206774, 242154.
* gui/widgets/eab-popup.c: (eab_popup_target_new_select) Fixes the
bug 206774, 242154.
* gui/widgets/eab-popup.h: Fixes the bug 206774, 242154.
svn path=/trunk/; revision=29641
Diffstat (limited to 'addressbook/gui/widgets/eab-popup.c')
-rw-r--r-- | addressbook/gui/widgets/eab-popup.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/addressbook/gui/widgets/eab-popup.c b/addressbook/gui/widgets/eab-popup.c index 8a292b745f..4a745a41f2 100644 --- a/addressbook/gui/widgets/eab-popup.c +++ b/addressbook/gui/widgets/eab-popup.c @@ -155,6 +155,13 @@ eab_popup_target_new_select(EABPopup *eabp, struct _EBook *book, int readonly, G } } + if (cards->len == 1) { + if (e_contact_get (E_CONTACT(cards->pdata[0]), E_CONTACT_IS_LIST)) + mask &= ~EAB_POPUP_LIST; + else + mask &= ~EAB_POPUP_CONTACT; + } + if (has_email) mask &= ~EAB_POPUP_SELECT_EMAIL; |