diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2008-11-27 04:26:07 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2008-11-27 04:26:07 +0000 |
commit | 1c3288b17cd0b3ef11a2edf43da7f5f49f0582a4 (patch) | |
tree | 6aaf5b9c6a83e2eff97cad341aa13a400412d96b | |
parent | 0307658712558c088db8d8bf718ba3dd4caa096c (diff) |
fixed a bug that the addressbook window was not refreshed when adding sender to addressbook.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2080 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ChangeLog.ja | 5 | ||||
-rw-r--r-- | src/addressbook.c | 4 |
3 files changed, 13 insertions, 2 deletions
@@ -1,3 +1,9 @@ +2008-11-27 + + * src/addressbook.c: addressbook_refresh(): fixed a bug that the + addressbook window was not refreshed when adding sender to + addressbook. + 2008-11-25 * libsylph/mbox.c: proc_mbox_full(): only count for non-junk and diff --git a/ChangeLog.ja b/ChangeLog.ja index fa9cbdfa..d131a3e2 100644 --- a/ChangeLog.ja +++ b/ChangeLog.ja @@ -1,3 +1,8 @@ +2008-11-27 + + * src/addressbook.c: addressbook_refresh(): 差出人をアドレス帳に + 追加した際にアドレス帳ウィンドウが更新されなかったバグを修正。 + 2008-11-25 * libsylph/mbox.c: proc_mbox_full(): 非迷惑メール・非削除・未読の diff --git a/src/addressbook.c b/src/addressbook.c index 6663c369..f57bd948 100644 --- a/src/addressbook.c +++ b/src/addressbook.c @@ -434,10 +434,10 @@ Compose *addressbook_get_target_compose(void) void addressbook_refresh(void) { if (addrbook.window) { - if (addrbook.treeSelected) { + if (addrbook.opened) { addrbook.treeSelected = NULL; gtk_ctree_select(GTK_CTREE(addrbook.ctree), - addrbook.treeSelected); + addrbook.opened); } } addressbook_export_to_file(); |