Revision: 1065
http://geeqie.svn.sourceforge.net/geeqie/?rev=1065&view=rev
Author: nadvornik
Date: 2008-08-17 14:18:51 +0000 (Sun, 17 Aug 2008)
Log Message:
-----------
removed code for maintaining filelist position, gtk_tree_view itself handles it
better
Modified Paths:
--------------
trunk/src/view_file_list.c
Modified: trunk/src/view_file_list.c
===================================================================
--- trunk/src/view_file_list.c 2008-08-17 09:36:02 UTC (rev 1064)
+++ trunk/src/view_file_list.c 2008-08-17 14:18:51 UTC (rev 1065)
@@ -1633,8 +1633,6 @@
{
GtkTreeStore *store;
gint thumbs;
- GtkTreeRowReference *visible_row = NULL;
- GtkTreePath *tpath;
GList *selected;
store =
GTK_TREE_STORE(gtk_tree_view_get_model(GTK_TREE_VIEW(vf->listview)));
@@ -1649,13 +1647,6 @@
return;
}
- if (GTK_WIDGET_REALIZED(vf->listview) &&
- gtk_tree_view_get_path_at_pos(GTK_TREE_VIEW(vf->listview), 0, 0,
&tpath, NULL, NULL, NULL))
- {
- visible_row = gtk_tree_row_reference_new(GTK_TREE_MODEL(store),
tpath);
- gtk_tree_path_free(tpath);
- }
-
vflist_listview_set_columns(vf->listview, thumbs);
selected = vflist_selection_get_list(vf);
@@ -1670,17 +1661,6 @@
filelist_free(selected);
- if (visible_row)
- {
- if (gtk_tree_row_reference_valid(visible_row))
- {
- tpath = gtk_tree_row_reference_get_path(visible_row);
-
gtk_tree_view_scroll_to_cell(GTK_TREE_VIEW(vf->listview), tpath, NULL, TRUE,
0.0, 0.0);
- gtk_tree_path_free(tpath);
- }
- gtk_tree_row_reference_free(visible_row);
- }
-
vf_send_update(vf);
vflist_thumb_update(vf);
}
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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn