Mercurial > pidgin
changeset 611:0f7e5ff95f71
[gaim-migrate @ 621]
god i'm anal. USE TABS! :)
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sat, 05 Aug 2000 01:23:46 +0000 |
parents | cadb51c068cb |
children | 12bb64b42ad1 |
files | src/conversation.c src/dialogs.c |
diffstat | 2 files changed, 4 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/src/conversation.c Sat Aug 05 01:00:21 2000 +0000 +++ b/src/conversation.c Sat Aug 05 01:23:46 2000 +0000 @@ -832,17 +832,7 @@ else advance_past(c->entry, "<FONT FACE>", "</FONT>"); } -/* -void do_link(GtkWidget *linky, GtkWidget *entry) -{ - if (state_lock) - return; - if (GTK_TOGGLE_BUTTON(linky)->active) - show_add_link(entry, linky); - else - advance_past(entry, "<A HREF>", "</A>" ); -} -*/ + void toggle_link(GtkWidget *linky, struct conversation *c) { if (state_lock) @@ -1349,7 +1339,8 @@ gtk_toolbar_append_space(GTK_TOOLBAR(toolbar)); link = gtk_toolbar_append_element(GTK_TOOLBAR(toolbar), - GTK_TOOLBAR_CHILD_TOGGLEBUTTON, NULL, _("Link"), _("Insert Link"), + GTK_TOOLBAR_CHILD_TOGGLEBUTTON, + NULL, _("Link"), _("Insert Link"), _("Link"), link_p, GTK_SIGNAL_FUNC(toggle_link), c); palette = gtk_toolbar_append_element(GTK_TOOLBAR(toolbar), GTK_TOOLBAR_CHILD_TOGGLEBUTTON,
--- a/src/dialogs.c Sat Aug 05 01:00:21 2000 +0000 +++ b/src/dialogs.c Sat Aug 05 01:23:46 2000 +0000 @@ -2254,7 +2254,7 @@ gtk_window_set_focus(GTK_WINDOW(c->link_dialog ), b->url); b->window = c->link_dialog; b->toggle = linky; - b->entry = c->entry; + b->entry = c->entry; gtk_widget_realize(c->link_dialog); aol_icon(c->link_dialog->window);