"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/fe-common/core/windows-layout.c" between
irssi-1.2.2.tar.gz and irssi-1.2.3.tar.gz

About: irssi is a terminal based IRC client that also supports SILC and ICB protocols via plugins.

windows-layout.c  (irssi-1.2.2):windows-layout.c  (irssi-1.2.3)
skipping to change at line 172 skipping to change at line 172
if (type == NULL) if (type == NULL)
return; return;
subnode = iconfig_node_section(node, NULL, NODE_TYPE_BLOCK); subnode = iconfig_node_section(node, NULL, NODE_TYPE_BLOCK);
iconfig_node_set_str(subnode, "type", type); iconfig_node_set_str(subnode, "type", type);
proto = item->chat_type == 0 ? NULL : proto = item->chat_type == 0 ? NULL :
chat_protocol_find_id(item->chat_type); chat_protocol_find_id(item->chat_type);
if (proto != NULL) if (proto != NULL)
iconfig_node_set_str(subnode, "chat_type", proto->name); iconfig_node_set_str(subnode, "chat_type", proto->name);
iconfig_node_set_str(subnode, "name", item->name); iconfig_node_set_str(subnode, "name", item->visible_name);
if (item->server != NULL) { if (item->server != NULL) {
iconfig_node_set_str(subnode, "tag", item->server->tag); iconfig_node_set_str(subnode, "tag", item->server->tag);
if (IS_CHANNEL(item)) { if (IS_CHANNEL(item)) {
rec = window_bind_add(window, item->server->tag, item->na me); rec = window_bind_add(window, item->server->tag, item->vi sible_name);
if (rec != NULL) if (rec != NULL)
rec->sticky = TRUE; rec->sticky = TRUE;
} }
} else if (IS_QUERY(item)) { } else if (IS_QUERY(item)) {
iconfig_node_set_str(subnode, "tag", QUERY(item)->server_tag); iconfig_node_set_str(subnode, "tag", QUERY(item)->server_tag);
} }
} }
static void window_save_items(WINDOW_REC *window, CONFIG_NODE *node) static void window_save_items(WINDOW_REC *window, CONFIG_NODE *node)
{ {
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)