diff options
author | Xan Lopez <xan@src.gnome.org> | 2003-07-14 17:51:37 +0800 |
---|---|---|
committer | Xan Lopez <xan@src.gnome.org> | 2003-07-14 17:51:37 +0800 |
commit | aaf367e6ca143eb22deeee902cbb9955de68305b (patch) | |
tree | 27eedecccfb5ff49c968f1ae50627625aca0776d /src | |
parent | 227e58bfb458aa2d2019992d30ae9fb659718660 (diff) | |
download | gsoc2013-epiphany-aaf367e6ca143eb22deeee902cbb9955de68305b.tar.gz gsoc2013-epiphany-aaf367e6ca143eb22deeee902cbb9955de68305b.tar.zst gsoc2013-epiphany-aaf367e6ca143eb22deeee902cbb9955de68305b.zip |
We use g_list_prepend to create selections now (in
We use g_list_prepend to create selections now (in ephy_node_view_get_selection()
and inside pdm_cmd_delete_selection), so the last element selected is the first in
the list and we need to use g_list_first instead of _last to make intelligent
selection after removal work on multiple selections.
Diffstat (limited to 'src')
-rwxr-xr-x | src/pdm-dialog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pdm-dialog.c b/src/pdm-dialog.c index 3fc4b68ac..d5ef8cc42 100755 --- a/src/pdm-dialog.c +++ b/src/pdm-dialog.c @@ -361,7 +361,7 @@ pdm_cmd_delete_selection (PdmActionInfo *action) /* Intelligent selection logic, no actual selection yet */ path = gtk_tree_row_reference_get_path - ((GtkTreeRowReference *) g_list_last (rlist)->data); + ((GtkTreeRowReference *) g_list_first (rlist)->data); gtk_tree_model_get_iter (model, &iter, path); gtk_tree_path_free (path); |