1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-04 08:43:13 +02:00

Added "Day changed to [date]" message when day changes

This commit is contained in:
Sebastien Helleu
2005-10-18 17:46:54 +00:00
parent 1e382ab9bd
commit a9f04c5fd9
28 changed files with 2848 additions and 2598 deletions
+10
View File
@@ -92,6 +92,8 @@ int cfg_look_infobar_delay_highlight;
int cfg_look_hotlist_names_count;
int cfg_look_hotlist_names_level;
int cfg_look_hotlist_names_length;
int cfg_look_day_change;
char *cfg_look_day_change_timestamp;
t_config_option weechat_options_look[] =
{ { "look_set_title", N_("set title for window (terminal for Curses GUI) with name & version"),
@@ -206,6 +208,14 @@ t_config_option weechat_options_look[] =
N_("max length of names in hotlist (0 = no limit)"),
OPTION_TYPE_INT, 0, 32, 0,
NULL, NULL, &cfg_look_hotlist_names_length, NULL, config_change_buffer_content },
{ "look_day_change", N_("display special message when day changes"),
N_("display special message when day changes"),
OPTION_TYPE_BOOLEAN, BOOL_FALSE, BOOL_TRUE, BOOL_TRUE,
NULL, NULL, &cfg_look_day_change, NULL, config_change_noop },
{ "look_day_change_timestamp", N_("timestamp for date displayed when day changed"),
N_("timestamp for date displayed when day changed"),
OPTION_TYPE_STRING, 0, 0, 0,
"%a, %d %b %Y", NULL, NULL, &cfg_look_day_change_timestamp, config_change_noop },
{ NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL }
};
+2
View File
@@ -106,6 +106,8 @@ extern int cfg_look_infobar_delay_highlight;
extern int cfg_look_hotlist_names_count;
extern int cfg_look_hotlist_names_level;
extern int cfg_look_hotlist_names_length;
extern int cfg_look_day_change;
extern char *cfg_look_day_change_timestamp;
extern int cfg_col_title;
extern int cfg_col_title_bg;