[f-spot] Small code style cleanups.



commit 158d8edf97ee6e8de9c0e005d4fa64dc967b4f78
Author: Ruben Vermeersch <ruben savanne be>
Date:   Fri Jun 18 19:52:57 2010 +0200

    Small code style cleanups.

 src/TagCommands.cs |   11 +++--------
 1 files changed, 3 insertions(+), 8 deletions(-)
---
diff --git a/src/TagCommands.cs b/src/TagCommands.cs
index a9fd846..0d7ec78 100644
--- a/src/TagCommands.cs
+++ b/src/TagCommands.cs
@@ -76,8 +76,7 @@ public class TagCommands {
 
 			ListStore category_store = new ListStore (typeof(Pixbuf), typeof(string));
 
-			foreach (Category category in categories)
-			{
+			foreach (Category category in categories) {
 				category_store.AppendValues (category.SizedIcon, Indentation (category) + category.Name);
 			}
 
@@ -148,9 +147,7 @@ public class TagCommands {
 							return;
 						}
 					}	
-				}
-				else
-				{
+				} else {
 					category_option_menu.Active = 0;
 				}
 			}
@@ -164,9 +161,7 @@ public class TagCommands {
 					default_category = (Category) selection [0];
 				else
 					default_category = selection [0].Category;
-			}
-			else
-			{
+			} else {
 				default_category = tag_store.RootCategory;
 			}
 



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