Revision: 1635
http://geeqie.svn.sourceforge.net/geeqie/?rev=1635&view=rev
Author: nadvornik
Date: 2009-04-11 19:35:03 +0000 (Sat, 11 Apr 2009)
Log Message:
-----------
fixed updating of filelist marks
Modified Paths:
--------------
trunk/src/view_file_list.c
Modified: trunk/src/view_file_list.c
===================================================================
--- trunk/src/view_file_list.c 2009-04-11 18:34:12 UTC (rev 1634)
+++ trunk/src/view_file_list.c 2009-04-11 19:35:03 UTC (rev 1635)
@@ -1658,12 +1658,15 @@
{
vf_refresh_idle(vf);
}
+ else
+ {
+ /* mark functions can have various side effects -
update all columns to be sure */
+ vflist_setup_iter(vf, GTK_TREE_STORE(store), &iter, fd);
+ }
file_data_register_notify_func(vf_notify_cb, vf,
NOTIFY_PRIORITY_MEDIUM);
- gtk_tree_store_set(GTK_TREE_STORE(store), &iter,
FILE_COLUMN_MARKS + n, file_data_get_mark(fd, n), -1);
-
work = work->next;
}
g_list_foreach(slist, (GFunc)gtk_tree_path_free, NULL);
@@ -1900,9 +1903,13 @@
{
vf_refresh_idle(vf);
}
+ else
+ {
+ /* mark functions can have various side effects - update all
columns to be sure */
+ vflist_setup_iter(vf, GTK_TREE_STORE(store), &iter, fd);
+ }
file_data_register_notify_func(vf_notify_cb, vf,
NOTIFY_PRIORITY_MEDIUM);
- gtk_tree_store_set(store, &iter, col_idx, marked, -1);
gtk_tree_path_free(path);
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn