f-spot r3809 - trunk/src
- From: sdelcroix svn gnome org
- To: svn-commits-list gnome org
- Subject: f-spot r3809 - trunk/src
- Date: Sat, 5 Apr 2008 08:03:26 +0100 (BST)
Author: sdelcroix
Date: Sat Apr 5 08:03:26 2008
New Revision: 3809
URL: http://svn.gnome.org/viewvc/f-spot?rev=3809&view=rev
Log:
fix for bgo #478951
Modified:
trunk/src/RotateCommand.cs
Modified: trunk/src/RotateCommand.cs
==============================================================================
--- trunk/src/RotateCommand.cs (original)
+++ trunk/src/RotateCommand.cs Sat Apr 5 08:03:26 2008
@@ -200,10 +200,10 @@
RotateMultiple op = new RotateMultiple (items, direction);
int readonly_count = 0;
bool done = false;
- int index = -1;
+ int index = 0;
while (!done) {
- if (progress_dialog != null && index != op.Index)
+ if (progress_dialog != null && op.Index != -1 && index < items.Length)
if (progress_dialog.Update (String.Format (Catalog.GetString ("Rotating photo \"{0}\""), op.Items [op.Index].Name)))
break;
@@ -223,6 +223,7 @@
} catch (Exception e) {
RunGenericError (e, op.Items [op.Index].DefaultVersionUri.LocalPath);
}
+ index ++;
}
if (progress_dialog != null)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]