comparison src/dialogs.c @ 8481:6d0869404696

[gaim-migrate @ 9214] " this fixes and should close 9, 10, and 12 on simguys list... those are... 9 Buttons that are pushed in when text is sent, stay pushed in. They should reset to the default for the line based on the B/I/U preferences. 10 Buttons are not properly pushed in if B/I/U are set in the prefs when the conversation window appears. 12 Buttons don't push in and out when the cursor enters regions that are differently formatted. For example, if you move the cursor to a place where the text is bold, the B button should probably be pushed in. While working on these i uncovered another bug which i'll start working on shortly, but thats no reason to hold this back when someone may find something I missed..." --Gary Kramlich as per his note, this does not fix moving the cursor with the mouse, but that doesn't work without this patch either. committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Sun, 21 Mar 2004 18:38:30 +0000
parents a2c5537a814b
children 48112dfe1179
comparison
equal deleted inserted replaced
8480:b0cebd011cc0 8481:6d0869404696
795 795
796 ca->text = gtk_imhtml_new(NULL, NULL); 796 ca->text = gtk_imhtml_new(NULL, NULL);
797 gtk_imhtml_set_editable(GTK_IMHTML(ca->text), TRUE); 797 gtk_imhtml_set_editable(GTK_IMHTML(ca->text), TRUE);
798 gtk_text_view_set_wrap_mode(GTK_TEXT_VIEW(ca->text), GTK_WRAP_WORD_CHAR); 798 gtk_text_view_set_wrap_mode(GTK_TEXT_VIEW(ca->text), GTK_WRAP_WORD_CHAR);
799 799
800 gtk_imhtml_smiley_shortcuts(GTK_IMHTML(ca->text),
801 gaim_prefs_get_bool("/gaim/gtk/conversations/smiley_shortcuts"));
802 gtk_imhtml_html_shortcuts(GTK_IMHTML(ca->text),
803 gaim_prefs_get_bool("/gaim/gtk/conversations/html_shortcuts"));
800 if (gaim_prefs_get_bool("/gaim/gtk/conversations/spellcheck")) 804 if (gaim_prefs_get_bool("/gaim/gtk/conversations/spellcheck"))
801 gaim_gtk_setup_gtkspell(GTK_TEXT_VIEW(ca->text)); 805 gaim_gtk_setup_gtkspell(GTK_TEXT_VIEW(ca->text));
802 gtk_imhtmltoolbar_attach(GTK_IMHTMLTOOLBAR(ca->toolbar), ca->text); 806 gtk_imhtmltoolbar_attach(GTK_IMHTMLTOOLBAR(ca->toolbar), ca->text);
803 807
804 gtk_container_add(GTK_CONTAINER(sw), ca->text); 808 gtk_container_add(GTK_CONTAINER(sw), ca->text);