diff --git a/hrafn.py b/hrafn.py index 784e12d..e7fd0bf 100755 --- a/hrafn.py +++ b/hrafn.py @@ -557,7 +557,10 @@ class Hrafn(): self.first_account_item = menu_item menu_item.set_draw_as_radio(False) - if username == self.username: + + if not self.db.has_key('active_user'): + self.db['active_user'] = username + elif username == self.db['active_user']: menu_item.set_active(True) menu_item.connect('activate', self.on_account_changed, username)