Revision: 1827
          http://geeqie.svn.sourceforge.net/geeqie/?rev=1827&view=rev
Author:   nadvornik
Date:     2009-08-27 20:23:28 +0000 (Thu, 27 Aug 2009)

Log Message:
-----------
fixed toggle_slideshow function

https://sourceforge.net/tracker/index.php?func=detail&aid=2844302&group_id=222125&atid=1054680

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

Modified: trunk/src/layout_util.c
===================================================================
--- trunk/src/layout_util.c     2009-08-26 19:19:06 UTC (rev 1826)
+++ trunk/src/layout_util.c     2009-08-27 20:23:28 UTC (rev 1827)
@@ -809,10 +809,11 @@
        layout_bar_sort_toggle(lw);
 }
 
-static void layout_menu_slideshow_cb(GtkAction *action, gpointer data)
+static void layout_menu_slideshow_cb(GtkToggleAction *action, gpointer data)
 {
        LayoutWindow *lw = data;
 
+       if (layout_image_slideshow_active(lw) == 
gtk_toggle_action_get_active(action)) return;
        layout_image_slideshow_toggle(lw);
 }
 


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

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn

Reply via email to