aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2003-07-14 17:51:37 +0800
committerXan Lopez <xan@src.gnome.org>2003-07-14 17:51:37 +0800
commitaaf367e6ca143eb22deeee902cbb9955de68305b (patch)
tree27eedecccfb5ff49c968f1ae50627625aca0776d /src
parent227e58bfb458aa2d2019992d30ae9fb659718660 (diff)
downloadgsoc2013-epiphany-aaf367e6ca143eb22deeee902cbb9955de68305b.tar
gsoc2013-epiphany-aaf367e6ca143eb22deeee902cbb9955de68305b.tar.gz
gsoc2013-epiphany-aaf367e6ca143eb22deeee902cbb9955de68305b.tar.bz2
gsoc2013-epiphany-aaf367e6ca143eb22deeee902cbb9955de68305b.tar.lz
gsoc2013-epiphany-aaf367e6ca143eb22deeee902cbb9955de68305b.tar.xz
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-xsrc/pdm-dialog.c2
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);