mirror of
https://github.com/weechat/weechat.git
synced 2026-07-03 00:03:12 +02:00
api: add property "type" in function buffer_get_string
This commit is contained in:
@@ -1432,6 +1432,8 @@ gui_buffer_get_string (struct t_gui_buffer *buffer, const char *property)
|
||||
return buffer->old_full_name;
|
||||
else if (strcmp (property, "short_name") == 0)
|
||||
return gui_buffer_get_short_name (buffer);
|
||||
else if (strcmp (property, "type") == 0)
|
||||
return gui_buffer_type_string[buffer->type];
|
||||
else if (strcmp (property, "title") == 0)
|
||||
return buffer->title;
|
||||
else if (strcmp (property, "input") == 0)
|
||||
|
||||
Reference in New Issue
Block a user