Revision: 1735
          http://geeqie.svn.sourceforge.net/geeqie/?rev=1735&view=rev
Author:   nadvornik
Date:     2009-06-07 10:11:05 +0000 (Sun, 07 Jun 2009)

Log Message:
-----------
do not show wide frame in single image mode
it partially fixes
https://sourceforge.net/tracker/?func=detail&aid=2797348&group_id=222125&atid=1054683

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

Modified: trunk/src/layout_image.c
===================================================================
--- trunk/src/layout_image.c    2009-06-06 22:51:55 UTC (rev 1734)
+++ trunk/src/layout_image.c    2009-06-07 10:11:05 UTC (rev 1735)
@@ -1671,7 +1671,7 @@
 
 static void layout_image_setup_split_common(LayoutWindow *lw, gint n)
 {
-       gboolean frame = (n == 1) ? (!lw->options.tools_float && 
!lw->options.tools_hidden) : 1;
+       gboolean frame = (n > 1) || (!lw->options.tools_float && 
!lw->options.tools_hidden);
        gint i;
 
        for (i = 0; i < n; i++)
@@ -1682,7 +1682,7 @@
 
                        layout_image_new(lw, i);
                        image_set_frame(lw->split_images[i], frame);
-                       image_set_selectable(lw->split_images[i], 1);
+                       image_set_selectable(lw->split_images[i], (n > 1));
                        
                        if (lw->image)
                                {
@@ -1725,7 +1725,7 @@
                else
                        {
                        image_set_frame(lw->split_images[i], frame);
-                       image_set_selectable(lw->split_images[i], 1);
+                       image_set_selectable(lw->split_images[i], (n > 1));
                        }
 
        for (i = n; i < MAX_SPLIT_IMAGES; i++)


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

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn

Reply via email to