"""
@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
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)