express: Format for 80 columns
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
29200c9c1f
commit
6fdc9ca8d1
|
@ -60,7 +60,8 @@ _callback_server_motd(Express_Network *net EINA_UNUSED, const char *event EINA_U
|
|||
/* DBG("\t%s", params[1]); */
|
||||
|
||||
if (!(chl = _window_channel_server_find(source))) return;
|
||||
_channel_text_append(chl, NULL, params[1], _row_color_simple_create(COLOR_SYSTEM));
|
||||
_channel_text_append(chl, NULL, params[1],
|
||||
_row_color_simple_create(COLOR_SYSTEM));
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -76,7 +77,8 @@ _callback_server_notice(Express_Network *net EINA_UNUSED, const char *event EINA
|
|||
/* DBG("\t%s", params[1]); */
|
||||
|
||||
if (!(chl = _window_channel_active_get())) return;
|
||||
_channel_text_append(chl, NULL, params[1], _row_color_simple_create(COLOR_SERVER_NOTICE));
|
||||
_channel_text_append(chl, NULL, params[1],
|
||||
_row_color_simple_create(COLOR_SERVER_NOTICE));
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -91,7 +93,8 @@ _callback_channel_message(Express_Network *net EINA_UNUSED, const char *event EI
|
|||
/* DBG("\t%s", params[1]); */
|
||||
|
||||
if (!(chl = _window_channel_find(params[0]))) return;
|
||||
_channel_text_append(chl, source, params[1], _row_color_simple_create(COLOR_TEXT));
|
||||
_channel_text_append(chl, source, params[1],
|
||||
_row_color_simple_create(COLOR_TEXT));
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -121,7 +124,8 @@ _callback_channel_notice(Express_Network *net EINA_UNUSED, const char *event EIN
|
|||
}
|
||||
|
||||
if (!chl) return;
|
||||
_channel_text_append(chl, NULL, params[1], _row_color_simple_create(COLOR_CHANNEL_NOTICE));
|
||||
_channel_text_append(chl, NULL, params[1],
|
||||
_row_color_simple_create(COLOR_CHANNEL_NOTICE));
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -139,8 +143,10 @@ _callback_channel_topic(Express_Network *net EINA_UNUSED, const char *event EINA
|
|||
|
||||
if (!(chl = _window_channel_find(params[1]))) return;
|
||||
snprintf(buff, sizeof(buff), "Topic for %s is: ", params[1]);
|
||||
_channel_text_append(chl, NULL, buff, _row_color_simple_create(COLOR_TOPIC));
|
||||
_channel_text_append(chl, NULL, params[2], _row_color_simple_create(COLOR_TOPIC));
|
||||
_channel_text_append(chl, NULL, buff,
|
||||
_row_color_simple_create(COLOR_TOPIC));
|
||||
_channel_text_append(chl, NULL, params[2],
|
||||
_row_color_simple_create(COLOR_TOPIC));
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -165,7 +171,8 @@ _callback_channel_topic_time(Express_Network *net EINA_UNUSED, const char *event
|
|||
if (!(chl = _window_channel_find(params[1]))) return;
|
||||
snprintf(buff, sizeof(buff), "Topic for %s set by %s at %s\r\n",
|
||||
params[1], params[2], strtime);
|
||||
_channel_text_append(chl, NULL, buff, _row_color_simple_create(COLOR_TOPIC));
|
||||
_channel_text_append(chl, NULL, buff,
|
||||
_row_color_simple_create(COLOR_TOPIC));
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -230,7 +237,8 @@ _callback_user_quit(Express_Network *net EINA_UNUSED, const char *event EINA_UNU
|
|||
|
||||
channels = _window_channels_user_find(source);
|
||||
EINA_LIST_FOREACH(channels, l, chl)
|
||||
_channel_text_append(chl, "*", buff, _row_color_simple_create(COLOR_PART));
|
||||
_channel_text_append(chl, "*", buff,
|
||||
_row_color_simple_create(COLOR_PART));
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -332,5 +340,6 @@ _callback_user_nick(Express_Network *net EINA_UNUSED, const char *event EINA_UNU
|
|||
/* find all channels that this user is in */
|
||||
channels = _window_channels_user_find(source);
|
||||
EINA_LIST_FOREACH(channels, l, chl)
|
||||
_channel_text_append(chl, "*", buff, _row_color_simple_create(COLOR_NICK_CHANGE));
|
||||
_channel_text_append(chl, "*", buff,
|
||||
_row_color_simple_create(COLOR_NICK_CHANGE));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue