tasque r68 - in trunk: . src



Author: sharm
Date: Mon May 19 14:43:58 2008
New Revision: 68
URL: http://svn.gnome.org/viewvc/tasque?rev=68&view=rev

Log:
* src/TaskWindow.cs: De-sensitize categoryComboBox during task window
  load.  Fixes bug #532764, patch courtesy of Steve Brown.

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

Modified: trunk/src/TaskWindow.cs
==============================================================================
--- trunk/src/TaskWindow.cs	(original)
+++ trunk/src/TaskWindow.cs	Mon May 19 14:43:58 2008
@@ -131,6 +131,7 @@
 			categoryComboBox.Accessible.Description = "Category Selection";
 			categoryComboBox.WidthRequest = 150;
 			categoryComboBox.WrapWidth = 1;
+			categoryComboBox.Sensitive = false;
 			CellRendererText comboBoxRenderer = new Gtk.CellRendererText ();
 			comboBoxRenderer.WidthChars = 20;
 			comboBoxRenderer.Ellipsize = Pango.EllipsizeMode.End;
@@ -1101,6 +1102,7 @@
 				TaskWindow.ShowStatus (status);
 				RebuildAddTaskMenu (Application.Backend.Categories);
 				addTaskEntry.Sensitive = true;
+				categoryComboBox.Sensitive = true;
 				// Keep insensitive text color
 				Gdk.Color insensitiveColor =
 					addTaskEntry.Style.Text (Gtk.StateType.Insensitive);



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