projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37fd19a
)
fixed iconview update after deletion of selected image
author
Vladimir Nadvornik
<nadvornik@suse.cz>
Sat, 14 Jun 2008 12:30:44 +0000
(12:30 +0000)
committer
Vladimir Nadvornik
<nadvornik@suse.cz>
Sat, 14 Jun 2008 12:30:44 +0000
(12:30 +0000)
src/view_file_icon.c
patch
|
blob
|
history
diff --git
a/src/view_file_icon.c
b/src/view_file_icon.c
index
d657f79
..
b9b4505
100644
(file)
--- a/
src/view_file_icon.c
+++ b/
src/view_file_icon.c
@@
-986,6
+986,7
@@
static void vficon_select_closest(ViewFile *vf, FileData *sel_fd)
if (match >= 0)
{
vficon_select(vf, id);
+ vficon_send_layout_select(vf, id);
break;
}
}
@@
-2164,6
+2165,8
@@
static gint vficon_refresh_real(ViewFile *vf, gint keep_position)
filelist_free(new_filelist);
+ vficon_populate(vf, TRUE, keep_position);
+
if (selected && num_selected == 0)
{
/* all selected files disappeared */
@@
-2172,8
+2175,6
@@
static gint vficon_refresh_real(ViewFile *vf, gint keep_position)
filelist_free(selected);
- vficon_populate(vf, TRUE, keep_position);
-
/* attempt to keep focus on same icon when refreshing */
if (focus_id && g_list_find(vf->list, focus_id))
{