Mercurial > pidgin.yaz
comparison src/gtkimhtml.h @ 7295:c7f0a4397d9e
[gaim-migrate @ 7879]
I added a search feature to conversations. I actually did most of this a
while ago for the log viewer. GtkIMHtml has some functions to handle searching
itself. I just added a new item to the conversation menu to handle it.
This should be useful for long IRC channel backlogs and the sorts.
It's case-sensitive right now. That kinda sucks, but that's all GTK lets me
do. GtkSourceView has some nice case-insensitive search functions that I'll
likely bring in before the release.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Sat, 18 Oct 2003 01:58:02 +0000 |
parents | 083d1e4a9c78 |
children | 15155dbc768a |
comparison
equal
deleted
inserted
replaced
7294:e5d0f5cb61fb | 7295:c7f0a4397d9e |
---|---|
64 char *tip; | 64 char *tip; |
65 guint tip_timer; | 65 guint tip_timer; |
66 | 66 |
67 GList *scalables; | 67 GList *scalables; |
68 GdkRectangle old_rect; | 68 GdkRectangle old_rect; |
69 | |
70 gchar *search_string; | |
69 }; | 71 }; |
70 | 72 |
71 struct _GtkIMHtmlClass { | 73 struct _GtkIMHtmlClass { |
72 GtkTextViewClass parent_class; | 74 GtkTextViewClass parent_class; |
73 | 75 |
165 GtkIMHtmlScalable *gtk_imhtml_hr_new(); | 167 GtkIMHtmlScalable *gtk_imhtml_hr_new(); |
166 void gtk_imhtml_hr_free(GtkIMHtmlScalable *); | 168 void gtk_imhtml_hr_free(GtkIMHtmlScalable *); |
167 void gtk_imhtml_hr_scale(GtkIMHtmlScalable *, int, int); | 169 void gtk_imhtml_hr_scale(GtkIMHtmlScalable *, int, int); |
168 void gtk_imhtml_hr_add_to(GtkIMHtmlScalable *, GtkIMHtml *, GtkTextIter *); | 170 void gtk_imhtml_hr_add_to(GtkIMHtmlScalable *, GtkIMHtml *, GtkTextIter *); |
169 | 171 |
172 /* Search functions */ | |
173 gboolean gtk_imhtml_search_find(GtkIMHtml *imhtml, const gchar *text); | |
174 void gtk_imhtml_search_clear(GtkIMHtml *imhtml); | |
170 | 175 |
171 #ifdef __cplusplus | 176 #ifdef __cplusplus |
172 } | 177 } |
173 #endif | 178 #endif |
174 | 179 |