mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Merge branch 'master' into readline
This commit is contained in:
commit
b7a8e7d942
1
.gitignore
vendored
1
.gitignore
vendored
@ -64,3 +64,4 @@ profanity.workspace
|
||||
m4/
|
||||
test.sh
|
||||
clean-test.sh
|
||||
callgrind.out.*
|
||||
|
@ -1466,10 +1466,6 @@ cmd_init(void)
|
||||
autocomplete_add(time_ac, "seconds");
|
||||
autocomplete_add(time_ac, "off");
|
||||
|
||||
time_ac = autocomplete_new();
|
||||
autocomplete_add(time_ac, "minutes");
|
||||
autocomplete_add(time_ac, "seconds");
|
||||
|
||||
resource_ac = autocomplete_new();
|
||||
autocomplete_add(resource_ac, "set");
|
||||
autocomplete_add(resource_ac, "off");
|
||||
|
@ -381,7 +381,7 @@ void
|
||||
p_contact_set_presence(const PContact contact, Resource *resource)
|
||||
{
|
||||
g_hash_table_replace(contact->available_resources, strdup(resource->name), resource);
|
||||
autocomplete_add(contact->resource_ac, strdup(resource->name));
|
||||
autocomplete_add(contact->resource_ac, resource->name);
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -331,6 +331,7 @@ win_free(ProfWin* window)
|
||||
buffer_free(window->layout->buffer);
|
||||
delwin(window->layout->win);
|
||||
}
|
||||
free(window->layout);
|
||||
|
||||
if (window->type == WIN_CHAT) {
|
||||
ProfChatWin *chatwin = (ProfChatWin*)window;
|
||||
|
Loading…
Reference in New Issue
Block a user