From e55d0a862c2f55a2df76fa7c5f6272438f239833 Mon Sep 17 00:00:00 2001 From: Emanuele Giaquinta Date: Thu, 26 Jul 2007 13:53:22 +0000 Subject: 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 --- src/core/settings.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/core') diff --git a/src/core/settings.c b/src/core/settings.c index 68e5de75..edf87953 100644 --- a/src/core/settings.c +++ b/src/core/settings.c @@ -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; -- cgit v1.2.3