Revision: 1541
          http://geeqie.svn.sourceforge.net/geeqie/?rev=1541&view=rev
Author:   nadvornik
Date:     2009-03-15 17:40:04 +0000 (Sun, 15 Mar 2009)

Log Message:
-----------
fixed viewing image from dupe and search windows

Modified Paths:
--------------
    trunk/src/dupe.c
    trunk/src/search.c

Modified: trunk/src/dupe.c
===================================================================
--- trunk/src/dupe.c    2009-03-15 15:01:07 UTC (rev 1540)
+++ trunk/src/dupe.c    2009-03-15 17:40:04 UTC (rev 1541)
@@ -1993,7 +1993,7 @@
                        }
                else
                        {
-                       layout_image_set_fd(NULL, di->fd);
+                       layout_set_fd(NULL, di->fd);
                        }
                }
 }

Modified: trunk/src/search.c
===================================================================
--- trunk/src/search.c  2009-03-15 15:01:07 UTC (rev 1540)
+++ trunk/src/search.c  2009-03-15 17:40:04 UTC (rev 1541)
@@ -23,7 +23,7 @@
 #include "filedata.h"
 #include "image-load.h"
 #include "img-view.h"
-#include "layout_image.h"
+#include "layout.h"
 #include "menu.h"
 #include "metadata.h"
 #include "misc.h"
@@ -877,7 +877,7 @@
 {
        SearchData *sd = data;
 
-       if (sd->click_fd) layout_image_set_fd(NULL, sd->click_fd);
+       if (sd->click_fd) layout_set_fd(NULL, sd->click_fd);
 }
 
 static void sr_menu_viewnew_cb(GtkWidget *widget, gpointer data)
@@ -1095,7 +1095,7 @@
 
        if (bevent->button == MOUSE_BUTTON_LEFT && bevent->type == 
GDK_2BUTTON_PRESS)
                {
-               layout_image_set_fd(NULL, mfd->fd);
+               layout_set_fd(NULL, mfd->fd);
                }
 
        if (bevent->button == MOUSE_BUTTON_MIDDLE) return TRUE;
@@ -1298,7 +1298,7 @@
                switch (event->keyval)
                        {
                        case GDK_Return: case GDK_KP_Enter:
-                               if (mfd) layout_image_set_fd(NULL, mfd->fd);
+                               if (mfd) layout_set_fd(NULL, mfd->fd);
                                break;
                        case 'V': case 'v':
                                {


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn

Reply via email to