mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
Change 'actlist_moves' boolean to 'actlist_sort' string which specifies the
sorting type to use for the activity bar: - refnum (default) - recent (same as actlist_moves on) - level (sort by window level, same ordering used by active_window command) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4583 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
4e5fa17f50
commit
e55d0a862c
2 changed files with 46 additions and 2 deletions
|
|
@ -473,6 +473,12 @@ static int backwards_compatibility(const char *module, CONFIG_NODE *node,
|
|||
g_free(new_value);
|
||||
config_changed = TRUE;
|
||||
return new_key != NULL;
|
||||
} else if (strcasecmp(node->key, "actlist_moves") == 0 &&
|
||||
node->value != NULL && strcasecmp(node->value, "yes") == 0) {
|
||||
config_node_set_str(mainconfig, parent, "actlist_sort", "recent");
|
||||
config_node_set_str(mainconfig, parent, node->key, NULL);
|
||||
config_changed = TRUE;
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
new_value = NULL, new_key = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue