config_notify_bar() and print_notify_options() improved
This commit is contained in:
parent
730e1d9df5
commit
93d2df34a8
@ -1,4 +1,4 @@
|
||||
/* $calcurse: calcurse.c,v 1.18 2006/09/15 15:40:20 culot Exp $ */
|
||||
/* $calcurse: calcurse.c,v 1.19 2006/09/16 15:23:48 culot Exp $ */
|
||||
|
||||
/*
|
||||
* Calcurse - text-based organizer
|
||||
@ -948,7 +948,7 @@ void print_notify_options(WINDOW *win)
|
||||
mvwprintw(win, y_pos + 9, x_pos + 4 + strlen(option4), "%d", nbar->cntdwn);
|
||||
custom_remove_attr(win, ATTR_HIGHEST);
|
||||
mvwprintw(win, y_pos + 10, x_pos,
|
||||
_("(Warn user if he has an appointment within next 'notify-bar_warning' seconds)"));
|
||||
_("(Warn user if an appointment is within next 'notify-bar_warning' seconds)"));
|
||||
|
||||
pthread_mutex_unlock(&nbar->mutex);
|
||||
wmove(swin, 1, 0);
|
||||
@ -1146,7 +1146,7 @@ void add_item(void)
|
||||
heures, minutes);
|
||||
apoint_pointeur =
|
||||
apoint_new(item_mesg, apoint_start, min2sec(apoint_duration));
|
||||
notify_check_added(item_mesg, apoint_start);
|
||||
if (notify_bar()) notify_check_added(item_mesg, apoint_start);
|
||||
// insert the event in list
|
||||
} else {
|
||||
event_pointeur = event_new(item_mesg, date2sec(
|
||||
|
Loading…
x
Reference in New Issue
Block a user