modify text append function to accept a nick parameter also
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
7fd14b1b07
commit
00bc2f0754
|
@ -452,11 +452,17 @@ _channel_spacer_create(Channel *chl)
|
|||
}
|
||||
|
||||
void
|
||||
_channel_text_append(Channel *chl, const char *txt)
|
||||
_channel_text_append(Channel *chl, const char *user, const char *txt)
|
||||
{
|
||||
/* fprintf(stderr, "Channel %s Append: %s", chl->name, txt); */
|
||||
|
||||
/* write buff to grid */
|
||||
if (user)
|
||||
{
|
||||
_grid_text_append(chl->o_grid, user, strlen(user));
|
||||
_grid_text_append(chl->o_grid, "\t", strlen("\t"));
|
||||
}
|
||||
|
||||
_grid_text_append(chl->o_grid, txt, strlen(txt));
|
||||
}
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ void _channel_unswallowed_set(Channel *chl, Eina_Bool swallowed);
|
|||
|
||||
void _channel_spacer_create(Channel *chl);
|
||||
|
||||
void _channel_text_append(Channel *chl, const char *txt);
|
||||
void _channel_text_append(Channel *chl, const char *user, const char *txt);
|
||||
|
||||
void _channel_window_set(Channel *chl, Evas_Object *win);
|
||||
|
||||
|
|
Loading…
Reference in New Issue