Revision: 1382
          http://geeqie.svn.sourceforge.net/geeqie/?rev=1382&view=rev
Author:   nadvornik
Date:     2009-02-06 22:56:52 +0000 (Fri, 06 Feb 2009)

Log Message:
-----------
do not switch to the next image on mouse click in split mode
it interferes with image switching too much

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

Modified: trunk/src/layout_image.c
===================================================================
--- trunk/src/layout_image.c    2009-02-06 22:41:47 UTC (rev 1381)
+++ trunk/src/layout_image.c    2009-02-06 22:56:52 UTC (rev 1382)
@@ -1332,10 +1332,12 @@
        switch (event->button)
                {
                case MOUSE_BUTTON_LEFT:
-                       layout_image_next(lw);
+                       if (lw->split_mode == SPLIT_NONE)
+                               layout_image_next(lw);
                        break;
                case MOUSE_BUTTON_MIDDLE:
-                       layout_image_prev(lw);
+                       if (lw->split_mode == SPLIT_NONE)
+                               layout_image_prev(lw);
                        break;
                case MOUSE_BUTTON_RIGHT:
                        menu = layout_image_pop_menu(lw);


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

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn

Reply via email to