1
0
mirror of https://github.com/Kopano-dev/kopano-ol-extension.git synced 2023-10-10 13:37:40 +02:00

[KOE-56] Changed default names for shared folders

This commit is contained in:
Patrick Simpson 2016-12-21 16:57:09 +01:00
parent 9bf2c4c920
commit f5caa2f3b9
2 changed files with 3 additions and 3 deletions

View File

@ -69,8 +69,8 @@ namespace Acacia.Controls
buttonApply.Enabled = IsDirty;
buttonApply.Visible = _hasApply;
buttonClose.Visible = !IsDirty || !_hasApply;
buttonCancel.Visible = IsDirty && !_hasApply;
buttonClose.Visible = !IsDirty;
buttonCancel.Visible = IsDirty;
KDialogNew dlg = FindForm() as KDialogNew;
if (dlg != null)

View File

@ -100,7 +100,7 @@ namespace Acacia.Features.SharedFolders
// Default include the store name in root folders
if (folder.ParentId.IsNone)
share = share.WithName(folder.Store.UserName + " - " + folder.Name);
share = share.WithName(folder.Name + " - " + folder.Store.UserName);
return share;
}