Mercurial > pidgin.yaz
changeset 26695:ba9876c35a5b
Rename pdl->cats to pdl->services, since these aren't roomlist categories
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Fri, 17 Apr 2009 16:34:03 +0000 |
parents | 28381a8889a8 |
children | 892ffe359b51 |
files | pidgin/gtkdisco.c |
diffstat | 1 files changed, 7 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkdisco.c Fri Apr 17 06:05:07 2009 +0000 +++ b/pidgin/gtkdisco.c Fri Apr 17 16:34:03 2009 +0000 @@ -53,7 +53,7 @@ PidginDiscoDialog *dialog; GtkTreeStore *model; GtkWidget *tree; - GHashTable *cats; /** Meow. */ + GHashTable *services; } PidginDiscoList; struct _menu_cb_info { @@ -374,7 +374,7 @@ gtk_widget_set_sensitive(dialog->stop_button, FALSE); /* list button */ - dialog->list_button = pidgin_pixbuf_button_from_stock(_("_Get List"), GTK_STOCK_REFRESH, + dialog->list_button = pidgin_pixbuf_button_from_stock(_("_Browse"), GTK_STOCK_REFRESH, PIDGIN_BUTTON_HORIZONTAL); gtk_box_pack_start(GTK_BOX(bbox), dialog->list_button, FALSE, FALSE, 0); g_signal_connect(G_OBJECT(dialog->list_button), "clicked", @@ -429,7 +429,8 @@ purple_disco_list_set_ui_data(list, pdl); - pdl->cats = g_hash_table_new_full(NULL, NULL, NULL, (GDestroyNotify)gtk_tree_row_reference_free); + pdl->services = g_hash_table_new_full(NULL, NULL, NULL, + (GDestroyNotify)gtk_tree_row_reference_free); } @@ -440,7 +441,7 @@ pdl = purple_disco_list_get_ui_data(list); - g_hash_table_destroy(pdl->cats); + g_hash_table_destroy(pdl->services); g_free(pdl); purple_disco_list_set_ui_data(list, NULL); @@ -495,7 +496,7 @@ GtkTreeRowReference *rr; GtkTreePath *path; - rr = g_hash_table_lookup(pdl->cats, parent); + rr = g_hash_table_lookup(pdl->services, parent); path = gtk_tree_row_reference_get_path(rr); if (path) { gtk_tree_model_get_iter(GTK_TREE_MODEL(pdl->model), &parent_iter, path); @@ -525,7 +526,7 @@ path = gtk_tree_model_get_path(GTK_TREE_MODEL(pdl->model), &iter); rr = gtk_tree_row_reference_new(GTK_TREE_MODEL(pdl->model), path); - g_hash_table_insert(pdl->cats, service, rr); + g_hash_table_insert(pdl->services, service, rr); gtk_tree_path_free(path); }