[f-spot] Listbox defaults now to 'root' category instead of nothing



commit afaf67d0d4759ea2d5923ec5fa47ace4c63558da
Author: Peter Goetz <peter gtz gmail com>
Date:   Thu Jun 10 23:28:05 2010 +0200

    Listbox defaults now to 'root' category instead of nothing
    
    https://bugzilla.gnome.org/show_bug.cgi?id=620837

 src/TagCommands.cs |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/TagCommands.cs b/src/TagCommands.cs
index d755b94..a9fd846 100644
--- a/src/TagCommands.cs
+++ b/src/TagCommands.cs
@@ -165,6 +165,10 @@ public class TagCommands {
 				else
 					default_category = selection [0].Category;
 			}
+			else
+			{
+				default_category = tag_store.RootCategory;
+			}
 
 			this.DefaultResponse = ResponseType.Ok;
 



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