diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2005-04-09 11:34:15 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2005-04-09 11:34:15 +0000 |
commit | 5090689a769658cf8a952db4533fe0c3b5ef3202 (patch) | |
tree | f1e0379c7dd574bfca392e0a482599e81bf7343e /src/common | |
parent | a92ca4961b00f2fca61facec743986e89446841f (diff) | |
download | weechat-5090689a769658cf8a952db4533fe0c3b5ef3202.zip |
Buffers timestamp can now be changed (new option in config file)
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/weeconfig.c | 5 | ||||
-rw-r--r-- | src/common/weeconfig.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/common/weeconfig.c b/src/common/weeconfig.c index 11445dabf..33d9575f1 100644 --- a/src/common/weeconfig.c +++ b/src/common/weeconfig.c @@ -66,6 +66,7 @@ char *cfg_look_weechat_slogan; char *cfg_look_charset_decode; char *cfg_look_charset_encode; char *cfg_look_charset_internal; +char *cfg_look_buffer_timestamp; int cfg_look_color_nicks; int cfg_look_color_actions; int cfg_look_remove_colors_from_msgs; @@ -112,6 +113,10 @@ t_config_option weechat_options_look[] = N_("internal WeeChat charset, should be ISO-xxxx even if locale is UTF-8 (if empty, local charset is used)"), OPTION_TYPE_STRING, 0, 0, 0, "ISO-8859-1", NULL, NULL, &cfg_look_charset_internal, config_change_buffer_content }, + { "look_buffer_timestamp", N_("timestamp for buffers"), + N_("timestamp for buffers"), + OPTION_TYPE_STRING, 0, 0, 0, + "[%H:%M:%S]", NULL, NULL, &cfg_look_buffer_timestamp, config_change_buffer_content }, { "look_color_nicks", N_("display nick names with different colors"), N_("display nick names with different colors"), OPTION_TYPE_BOOLEAN, BOOL_FALSE, BOOL_TRUE, BOOL_TRUE, diff --git a/src/common/weeconfig.h b/src/common/weeconfig.h index 1161d95df..99275b659 100644 --- a/src/common/weeconfig.h +++ b/src/common/weeconfig.h @@ -83,6 +83,7 @@ extern char *cfg_look_weechat_slogan; extern char *cfg_look_charset_decode; extern char *cfg_look_charset_encode; extern char *cfg_look_charset_internal; +extern char *cfg_look_buffer_timestamp; extern int cfg_look_color_nicks; extern int cfg_look_color_actions; extern int cfg_look_remove_colors_from_msgs; |