Mercurial > pidgin
comparison src/conversation.c @ 4262:7103653dd34e
[gaim-migrate @ 4513]
I am tispy. Here is insert link
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Thu, 09 Jan 2003 06:38:09 +0000 |
parents | cc14954cc399 |
children | 74f65a3d2a1f |
comparison
equal
deleted
inserted
replaced
4261:e252238f99df | 4262:7103653dd34e |
---|---|
1513 advance_past(c, "<FONT FACE>", "</FONT>"); | 1513 advance_past(c, "<FONT FACE>", "</FONT>"); |
1514 } | 1514 } |
1515 | 1515 |
1516 void insert_link_cb(GtkWidget *w, struct conversation *c) | 1516 void insert_link_cb(GtkWidget *w, struct conversation *c) |
1517 { | 1517 { |
1518 show_add_link(c->link, c); | 1518 show_insert_link(c->link, c); |
1519 } | 1519 } |
1520 | 1520 |
1521 void toggle_link(GtkWidget *linky, struct conversation *c) | 1521 void toggle_link(GtkWidget *linky, struct conversation *c) |
1522 { | 1522 { |
1523 if (state_lock) | 1523 if (state_lock) |
1524 return; | 1524 return; |
1525 | 1525 |
1526 if (GTK_TOGGLE_BUTTON(c->link)->active) | 1526 if (GTK_TOGGLE_BUTTON(c->link)->active) |
1527 show_add_link(c->link, c); | 1527 show_insert_link(c->link, c); |
1528 | 1528 |
1529 else if (c->link_dialog) | 1529 else if (c->link_dialog) |
1530 cancel_link(c->link, c); | 1530 cancel_link(c->link, c); |
1531 else | 1531 else |
1532 advance_past(c, "<A HREF>", "</A>"); | 1532 advance_past(c, "<A HREF>", "</A>"); |