f-spot r3932 - in trunk: . src



Author: sdelcroix
Date: Mon May 19 11:20:21 2008
New Revision: 3932
URL: http://svn.gnome.org/viewvc/f-spot?rev=3932&view=rev

Log:
2008-05-19  Lorenzo Milesi <maxxer yetopen it>

	* src/MainWindow.cs: start slideshow from first selected item.


Modified:
   trunk/ChangeLog
   trunk/src/MainWindow.cs

Modified: trunk/src/MainWindow.cs
==============================================================================
--- trunk/src/MainWindow.cs	(original)
+++ trunk/src/MainWindow.cs	Mon May 19 11:20:21 2008
@@ -2066,7 +2066,7 @@
 
 	void HandleViewFullscreen (object sender, EventArgs args)
 	{
-		int active = Math.Max (ActiveIndex (), 0);
+		int active = (selection.Count > 0 ? SelectedIds() [0] : 0);
 		if (fsview == null) {
 			fsview = new FSpot.FullScreenView (query, main_window);
 			fsview.Destroyed += HandleFullScreenViewDestroy;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]