A note on a place for inspiration
[doneit] / src / doneit_glade.py
index a699ae5..6cd28d1 100755 (executable)
@@ -2,6 +2,7 @@
 
 """
 @todo Add logging support to make debugging random user issues a lot easier
+@todo See Tasque for UI ideas http://live.gnome.org/Tasque/Screenshots
 """
 
 from __future__ import with_statement
@@ -212,7 +213,14 @@ class DoneIt(object):
                with gtk_toolbox.gtk_lock():
                        rtmView = rtm_view.RtmView(self._widgetTree, self.__errorDisplay)
                self._todoUIs[rtmView.name()] = rtmView
-               self._defaultUIName = rtmView.name()
+
+               import file_view
+               defaultStoragePath = "%s/data.txt" % self._user_data
+               with gtk_toolbox.gtk_lock():
+                       fileView = file_view.FileView(self._widgetTree, self.__errorDisplay, defaultStoragePath)
+               self._todoUIs[fileView.name()] = fileView
+
+               self._defaultUIName = fileView.name()
 
                config = ConfigParser.SafeConfigParser()
                config.read(self._user_settings)