Add a welcome screen

If gertty starts with no subscribed projects, display some help
text to help the user get started.

Change-Id: I1ac89321ea0e3129e00e505abfb1821d0cb28b45
This commit is contained in:
James E. Blair
2014-05-02 20:37:23 -07:00
parent 0415539a9f
commit 6505505369
2 changed files with 28 additions and 0 deletions

View File

@@ -76,6 +76,11 @@ This Screen
self._w.contents.append((self.listbox, ('weight', 1)))
self._w.set_focus(2)
def isEmpty(self):
if self.project_rows:
return False
return True
def refresh(self):
if self.subscribed:
self.title = u'Subscribed Projects'