Revision: 1576
          http://geeqie.svn.sourceforge.net/geeqie/?rev=1576&view=rev
Author:   nadvornik
Date:     2009-03-28 15:09:09 +0000 (Sat, 28 Mar 2009)

Log Message:
-----------
split-mode cleanup and improvements

Modified Paths:
--------------
    trunk/src/layout.c
    trunk/src/layout_util.c

Modified: trunk/src/layout.c
===================================================================
--- trunk/src/layout.c  2009-03-27 08:05:14 UTC (rev 1575)
+++ trunk/src/layout.c  2009-03-28 15:09:09 UTC (rev 1576)
@@ -1662,6 +1662,7 @@
 
        if (lw->utility_box)
                {
+               layout_split_change(lw, lw->split_mode); /* this re-creates 
image frame for the new configuration */
                image_sb = lw->utility_box;
                }
        else

Modified: trunk/src/layout_util.c
===================================================================
--- trunk/src/layout_util.c     2009-03-27 08:05:14 UTC (rev 1575)
+++ trunk/src/layout_util.c     2009-03-28 15:09:09 UTC (rev 1576)
@@ -576,10 +576,7 @@
        ImageSplitMode mode;
 
        layout_exit_fullscreen(lw);
-
        mode = gtk_radio_action_get_current_value(action);
-       if (mode == lw->split_mode) mode = 0; /* toggle back */
-
        layout_split_change(lw, mode);
 }
 
@@ -1923,6 +1920,9 @@
        action = gtk_action_group_get_action(lw->action_group, "FolderTree");
        radio_action_set_current_value(GTK_RADIO_ACTION(action), 
lw->options.dir_view_type);
 
+       action = gtk_action_group_get_action(lw->action_group, "SplitSingle");
+       radio_action_set_current_value(GTK_RADIO_ACTION(action), 
lw->split_mode);
+
        action = gtk_action_group_get_action(lw->action_group, "ViewIcons");
        gtk_toggle_action_set_active(GTK_TOGGLE_ACTION(action), 
lw->options.file_view_type);
 


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

------------------------------------------------------------------------------
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn

Reply via email to