diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-07-29 18:26:58 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-07-29 20:38:59 +0200 |
commit | 0126cbd1b3fd1ee46ce3c6f01fef92761c2193c7 (patch) | |
tree | efbeeed0e38f66d8b1d0f6b70dd3267cea477ba3 | |
parent | cce0acbe007b346afdebe0e9ba5dedf72b2eaf53 (diff) | |
download | calcurse-0126cbd1b3fd1ee46ce3c6f01fef92761c2193c7.tar.gz calcurse-0126cbd1b3fd1ee46ce3c6f01fef92761c2193c7.zip |
Update the notification item in *_paste_item()
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
-rw-r--r-- | src/apoint.c | 4 | ||||
-rw-r--r-- | src/recur.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/apoint.c b/src/apoint.c index 8771426..859e807 100644 --- a/src/apoint.c +++ b/src/apoint.c @@ -729,5 +729,9 @@ apoint_paste_item (void) (void)apoint_new (bkp_cut_apoint.mesg, bkp_cut_apoint.note, bkp_start, bkp_cut_apoint.dur, bkp_cut_apoint.state); + + if (notify_bar ()) + notify_check_added (bkp_cut_apoint.mesg, bkp_start, bkp_cut_apoint.state); + apoint_free_bkp (ERASE_FORCE_KEEP_NOTE); } diff --git a/src/recur.c b/src/recur.c index b2980fc..50e2beb 100644 --- a/src/recur.c +++ b/src/recur.c @@ -1144,5 +1144,9 @@ recur_apoint_paste_item (void) bkp_cut_recur_apoint.rpt->freq, bkp_cut_recur_apoint.rpt->until, &bkp_cut_recur_apoint.exc); + + if (notify_bar ()) + notify_check_repeated (&bkp_cut_recur_apoint); + recur_apoint_free_bkp (ERASE_FORCE_KEEP_NOTE); } |