nemo r46 - in trunk: . gtk



Author: arj
Date: Mon Jan  7 11:04:40 2008
New Revision: 46
URL: http://svn.gnome.org/viewvc/nemo?rev=46&view=rev

Log:
If no labels are defined, don't make right click -> labels look bad



Modified:
   trunk/NEWS
   trunk/gtk/Common.cs

Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS	(original)
+++ trunk/NEWS	Mon Jan  7 11:04:40 2008
@@ -13,6 +13,7 @@
 - Add shortcut for search
 - Show path in file view
 - Add open directory to right click menu for file
+- If no labels are defined, don't make right click -> labels look bad
 
 0.1.2 alpha
 -----------

Modified: trunk/gtk/Common.cs
==============================================================================
--- trunk/gtk/Common.cs	(original)
+++ trunk/gtk/Common.cs	Mon Jan  7 11:04:40 2008
@@ -104,7 +104,7 @@
 
 				foreach (Category cat in Singleton<Categories>.Instance.categories) {
 
-					if (cat.labels.Count > 0) {
+					if (cat.labels.Count > 0 || Singleton<Categories>.Instance.categories.Count == 1) {
 
 						if (first_category)
 							first_category = false;



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