local user. v0.8 release

This commit is contained in:
life
2015-10-24 23:45:55 +08:00
parent 682a694d64
commit f931c1d203
8 changed files with 15 additions and 7 deletions

View File

@@ -2010,6 +2010,7 @@ function userMenu(allUsers) {
});
this.menu.append(this.blog);
}
this.menu.append(new gui.MenuItem({ type: 'separator' }));
this.menu.append(this.switchAccount);
this.menu.append(allUsersMenu);
this.menu.append(new gui.MenuItem({ type: 'separator' }));
@@ -2020,7 +2021,10 @@ function userMenu(allUsers) {
this.menu.append(themeMenu);
}
var height = 210;
var height = 230;
if (UserInfo.IsLocal) {
height = 200;
}
if(!isMac()) {
this.menu.append(new gui.MenuItem({ type: 'separator' }));