tasque r169 - in trunk: . src



Author: sharm
Date: Mon Dec 22 22:32:11 2008
New Revision: 169
URL: http://svn.gnome.org/viewvc/tasque?rev=169&view=rev

Log:
* tasque/src/TaskWindow.cs: Don't try to create a new TaskWindow if the
  backend is not yet set. Fixes bug #564344.

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

Modified: trunk/src/TaskWindow.cs
==============================================================================
--- trunk/src/TaskWindow.cs	(original)
+++ trunk/src/TaskWindow.cs	Mon Dec 22 22:32:11 2008
@@ -423,11 +423,7 @@
 					}
 					taskWindow.Present();
 				}
-			} else {
-				// TODO: Eventually move the creation of the IBackend into
-				// something that will parse the command line to read which
-				// backend should be used.  If no specific backend is specified,
-				// use RtmTaskBackend by default.
+			} else if (Application.Backend != null) {
 				TaskWindow.taskWindow = new TaskWindow(Application.Backend);
 				if(lastXPos == 0 || lastYPos == 0)
 				{



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