diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2017-06-05 19:49:14 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2017-06-25 16:35:27 +0200 |
commit | 6c112cef7cab629fb5afacdc1e4704b2cd9267f7 (patch) | |
tree | 3aec6e6a1a53c7748c7c6463f392ce3940f7158a /src/plugins/fset | |
parent | d71524c582edbddc8222668c6aa4021da7a64c18 (diff) | |
download | weechat-6c112cef7cab629fb5afacdc1e4704b2cd9267f7.zip |
fset: add sort in buffer title
Diffstat (limited to 'src/plugins/fset')
-rw-r--r-- | src/plugins/fset/fset-buffer.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/fset/fset-buffer.c b/src/plugins/fset/fset-buffer.c index 223f5cbae..6815e24dd 100644 --- a/src/plugins/fset/fset-buffer.c +++ b/src/plugins/fset/fset-buffer.c @@ -61,7 +61,8 @@ fset_buffer_set_title () num_options = weechat_arraylist_size (fset_options); snprintf (str_title, sizeof (str_title), - _("%s | %d/%d%s | " + _("Filter: %s | %d/%d%s | " + "Sort: %s | " "Key(input): " "alt+space=toggle boolean, " "alt+'-'(-)=subtract 1, " @@ -80,7 +81,8 @@ fset_buffer_set_title () (fset_option_filter) ? fset_option_filter : "*", (num_options > 0) ? fset_buffer_selected_line + 1 : 0, num_options, - str_marked); + str_marked, + weechat_config_string (fset_config_look_sort)); weechat_buffer_set (fset_buffer, "title", str_title); } |