comparison src/gtkimhtmltoolbar.c @ 8807:482fc53c969d

[gaim-migrate @ 9569] A patch from Jon Oberheide to add a confirmation dialog when removing an away message. And then two other small changes I thought I had already committed. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 25 Apr 2004 17:01:38 +0000
parents 262f81346c0a
children ed62fb44aa30
comparison
equal deleted inserted replaced
8806:8212661dc3cc 8807:482fc53c969d
1031 g_signal_connect(G_OBJECT(imhtml), "format_function_clear", G_CALLBACK(reset_buttons_cb), toolbar); 1031 g_signal_connect(G_OBJECT(imhtml), "format_function_clear", G_CALLBACK(reset_buttons_cb), toolbar);
1032 g_signal_connect(G_OBJECT(imhtml), "format_function_update", G_CALLBACK(update_format_cb), toolbar); 1032 g_signal_connect(G_OBJECT(imhtml), "format_function_update", G_CALLBACK(update_format_cb), toolbar);
1033 g_signal_connect_after(G_OBJECT(GTK_IMHTML(imhtml)->text_buffer), "mark-set", G_CALLBACK(mark_set_cb), toolbar); 1033 g_signal_connect_after(G_OBJECT(GTK_IMHTML(imhtml)->text_buffer), "mark-set", G_CALLBACK(mark_set_cb), toolbar);
1034 1034
1035 buttons = gtk_imhtml_get_format_functions(GTK_IMHTML(imhtml)); 1035 buttons = gtk_imhtml_get_format_functions(GTK_IMHTML(imhtml));
1036 update_buttons_cb(imhtml, buttons, toolbar); 1036 update_buttons_cb(GTK_IMHTML(imhtml), buttons, toolbar);
1037 1037
1038 bold = italic = underline = FALSE; 1038 bold = italic = underline = FALSE;
1039 1039
1040 gtk_imhtml_get_current_format(GTK_IMHTML(imhtml), &bold, &italic, &underline); 1040 gtk_imhtml_get_current_format(GTK_IMHTML(imhtml), &bold, &italic, &underline);
1041 1041