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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user