Rework profiles code a bit, initialize gecko profile
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@ class ShellOwner(object):
|
||||
server portion of the Owner, paired with the client portion in Buddy.py."""
|
||||
def __init__(self):
|
||||
self._nick = env.get_nick_name()
|
||||
user_dir = env.get_user_dir()
|
||||
user_dir = env.get_profile_path()
|
||||
|
||||
self._icon = None
|
||||
for fname in os.listdir(user_dir):
|
||||
|
||||
@@ -94,6 +94,7 @@ class Shell(gobject.GObject):
|
||||
self.set_zoom_level(Shell.ZOOM_MESH)
|
||||
|
||||
def __first_time_dialog_destroy_cb(self, dialog):
|
||||
conf.get_profile().save()
|
||||
self.start()
|
||||
|
||||
def start(self):
|
||||
|
||||
Reference in New Issue
Block a user