Mercurial > pidgin
comparison src/gtkblist.c @ 10435:341d4932f89e
[gaim-migrate @ 11692]
Better CTRL+F searching for the saved statuses window
Use gtk2.6's ellipsizing for status messages
Escape & in status titles when deleting statuses
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 27 Dec 2004 19:35:21 +0000 |
parents | f7f06cb69d5e |
children | 911530134bf8 |
comparison
equal
deleted
inserted
replaced
10434:6be6da69d603 | 10435:341d4932f89e |
---|---|
3182 * used rarely, so it shouldn't matter TOO much. | 3182 * used rarely, so it shouldn't matter TOO much. |
3183 */ | 3183 */ |
3184 static gboolean | 3184 static gboolean |
3185 _search_func(GtkTreeModel *model, gint column, const gchar *key, GtkTreeIter *iter, gpointer search_data) | 3185 _search_func(GtkTreeModel *model, gint column, const gchar *key, GtkTreeIter *iter, gpointer search_data) |
3186 { | 3186 { |
3187 gboolean result; | |
3187 gchar *enteredstring; | 3188 gchar *enteredstring; |
3188 const gchar *withmarkup; | 3189 const gchar *withmarkup; |
3189 gchar *nomarkup; | 3190 gchar *nomarkup; |
3190 const gchar *normalized; | 3191 const gchar *normalized; |
3191 gboolean result; | 3192 |
3192 | 3193 gtk_tree_model_get(model, iter, column, &withmarkup, -1); |
3193 gtk_tree_model_get(model, iter, NAME_COLUMN, &withmarkup, -1); | |
3194 | 3194 |
3195 enteredstring = g_strdup(gaim_normalize(NULL, key)); | 3195 enteredstring = g_strdup(gaim_normalize(NULL, key)); |
3196 nomarkup = gaim_markup_strip_html(withmarkup); | 3196 nomarkup = gaim_markup_strip_html(withmarkup); |
3197 normalized = gaim_normalize(NULL, nomarkup); | 3197 normalized = gaim_normalize(NULL, nomarkup); |
3198 | 3198 |