Mercurial > pidgin
comparison src/conversation.c @ 3867:43e396e94095
[gaim-migrate @ 4019]
compile cleanups by nathan
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Sun, 03 Nov 2002 07:36:09 +0000 |
parents | 994b5c4d15dd |
children | b7d5c2a2b0d9 |
comparison
equal
deleted
inserted
replaced
3866:994b5c4d15dd | 3867:43e396e94095 |
---|---|
61 #include "pixmaps/crazy4.xpm" | 61 #include "pixmaps/crazy4.xpm" |
62 #include "pixmaps/mrt.xpm" | 62 #include "pixmaps/mrt.xpm" |
63 #include "pixmaps/download.xpm" | 63 #include "pixmaps/download.xpm" |
64 #include "pixmaps/farted.xpm" | 64 #include "pixmaps/farted.xpm" |
65 | 65 |
66 static gchar *ispell_cmd[] = { "ispell", "-a", NULL }; | |
67 static gchar *aspell_cmd[] = { "aspell", "--sug-mode=fast","-a", NULL }; | |
68 | |
69 int state_lock = 0; | 66 int state_lock = 0; |
70 | 67 |
71 GdkPixmap *dark_icon_pm = NULL; | 68 GdkPixmap *dark_icon_pm = NULL; |
72 GdkBitmap *dark_icon_bm = NULL; | 69 GdkBitmap *dark_icon_bm = NULL; |
73 | 70 |
192 show_conv(c); | 189 show_conv(c); |
193 update_icon(c); | 190 update_icon(c); |
194 update_checkbox(c); | 191 update_checkbox(c); |
195 update_smilies(c); | 192 update_smilies(c); |
196 plugin_event(event_new_conversation, name); | 193 plugin_event(event_new_conversation, name); |
197 gtk_imhtml_to_bottom(c->text); | 194 gtk_imhtml_to_bottom(GTK_IMHTML(c->text)); |
198 return c; | 195 return c; |
199 } | 196 } |
200 | 197 |
201 | 198 |
202 struct conversation *find_conversation(const char *name) | 199 struct conversation *find_conversation(const char *name) |
1048 if (event->button == 3 && event->type == GDK_BUTTON_PRESS) { | 1045 if (event->button == 3 && event->type == GDK_BUTTON_PRESS) { |
1049 /* right single click */ | 1046 /* right single click */ |
1050 g_signal_stop_emission_by_name(G_OBJECT(widget), "button_press_event"); | 1047 g_signal_stop_emission_by_name(G_OBJECT(widget), "button_press_event"); |
1051 return TRUE; | 1048 return TRUE; |
1052 } | 1049 } |
1050 return FALSE; | |
1053 } | 1051 } |
1054 | 1052 |
1055 static void got_typing_keypress(struct conversation *c, gboolean first) { | 1053 static void got_typing_keypress(struct conversation *c, gboolean first) { |
1056 /* we know we got something, so we at least have to make sure we don't send | 1054 /* we know we got something, so we at least have to make sure we don't send |
1057 * TYPED any time soon */ | 1055 * TYPED any time soon */ |
2615 convo_menubar = NULL; | 2613 convo_menubar = NULL; |
2616 } | 2614 } |
2617 | 2615 |
2618 update_convo_status(c); | 2616 update_convo_status(c); |
2619 | 2617 |
2620 gtk_imhtml_to_bottom(c->text); | 2618 gtk_imhtml_to_bottom(GTK_IMHTML(c->text)); |
2621 } | 2619 } |
2622 | 2620 |
2623 void update_convo_status(struct conversation *c) { | 2621 void update_convo_status(struct conversation *c) { |
2624 if(!c) | 2622 if(!c) |
2625 return; | 2623 return; |