Mercurial > pidgin.yaz
comparison src/gtkutils.c @ 5548:80e4ba770f97
[gaim-migrate @ 5949]
incremental progress
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Thu, 29 May 2003 19:50:19 +0000 |
parents | 2c4c975620f0 |
children | 7b36d02031a2 |
comparison
equal
deleted
inserted
replaced
5547:90a67ea697f7 | 5548:80e4ba770f97 |
---|---|
42 #ifdef USE_GTKSPELL | 42 #ifdef USE_GTKSPELL |
43 #include <gtkspell/gtkspell.h> | 43 #include <gtkspell/gtkspell.h> |
44 #endif | 44 #endif |
45 #include "gtkimhtml.h" | 45 #include "gtkimhtml.h" |
46 #include <gdk/gdkkeysyms.h> | 46 #include <gdk/gdkkeysyms.h> |
47 #include "prefs.h" | |
47 #include "prpl.h" | 48 #include "prpl.h" |
48 #include "ui.h" | 49 #include "ui.h" |
49 #include "notify.h" | 50 #include "notify.h" |
50 | 51 |
51 #ifdef _WIN32 | 52 #ifdef _WIN32 |
56 gaim_setup_imhtml(GtkWidget *imhtml) | 57 gaim_setup_imhtml(GtkWidget *imhtml) |
57 { | 58 { |
58 g_return_if_fail(imhtml != NULL); | 59 g_return_if_fail(imhtml != NULL); |
59 g_return_if_fail(GTK_IS_IMHTML(imhtml)); | 60 g_return_if_fail(GTK_IS_IMHTML(imhtml)); |
60 | 61 |
61 if (!(convo_options & OPT_CONVO_SHOW_SMILEY)) | 62 if (!gaim_prefs_get_bool("/gaim/gtk/conversations/show_smileys")) |
62 gtk_imhtml_show_smileys(GTK_IMHTML(imhtml), FALSE); | 63 gtk_imhtml_show_smileys(GTK_IMHTML(imhtml), FALSE); |
63 | 64 |
64 g_signal_connect(G_OBJECT(imhtml), "url_clicked", | 65 g_signal_connect(G_OBJECT(imhtml), "url_clicked", |
65 G_CALLBACK(open_url), NULL); | 66 G_CALLBACK(open_url), NULL); |
66 | 67 |