Mercurial > pidgin.yaz
changeset 12671:c8afbc1bf98b
[gaim-migrate @ 15014]
SF Patch #1392442 from resiak
Fix a comment.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Thu, 29 Dec 2005 01:56:44 +0000 |
parents | f57ff720957f |
children | 4bd7e2ebb4cb |
files | src/gtkaccount.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkaccount.c Thu Dec 29 01:36:34 2005 +0000 +++ b/src/gtkaccount.c Thu Dec 29 01:56:44 2005 +0000 @@ -2346,7 +2346,9 @@ if (!gtk_tree_view_get_path_at_pos(GTK_TREE_VIEW(dialog->treeview), event->x, event->y, &path, &column, NULL, NULL)) return FALSE; title = gtk_tree_view_column_get_title(column); - column = gtk_tree_view_get_column(treeview, COLUMN_ENABLED-1); /* -1 required by weirdness in GtkTreeView */ + /* The -1 is required because the first two columns of the list + * store are displayed as only one column in the tree view. */ + column = gtk_tree_view_get_column(treeview, COLUMN_ENABLED-1); gtk_tree_model_get_iter(GTK_TREE_MODEL(dialog->model), &iter, path); gtk_tree_path_free(path); gtk_tree_model_get(GTK_TREE_MODEL(dialog->model), &iter, COLUMN_DATA, &account, -1);