Revision: 1053
          http://geeqie.svn.sourceforge.net/geeqie/?rev=1053&view=rev
Author:   nadvornik
Date:     2008-08-11 17:45:26 +0000 (Mon, 11 Aug 2008)

Log Message:
-----------
fixed setting visible entry in view_dir_tree

Modified Paths:
--------------
    trunk/src/ui_tree_edit.c

Modified: trunk/src/ui_tree_edit.c
===================================================================
--- trunk/src/ui_tree_edit.c    2008-07-30 19:58:27 UTC (rev 1052)
+++ trunk/src/ui_tree_edit.c    2008-08-11 17:45:26 UTC (rev 1053)
@@ -349,7 +349,7 @@
        GdkRectangle vrect;
        GdkRectangle crect;
 
-       if (!GTK_WIDGET_REALIZED(GTK_WIDGET(widget))) return 0;
+       if (!GTK_WIDGET_REALIZED(GTK_WIDGET(widget))) return -1; /* we will 
most probably scroll down, needed for tree_view_row_make_visible */
 
        store = gtk_tree_view_get_model(widget);
        tpath = gtk_tree_model_get_path(store, iter);


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

Reply via email to