[statusicon] Disable sync item on first run
This commit is contained in:
parent
01a605fd26
commit
87a848b77e
|
@ -128,6 +128,8 @@ namespace SparkleShare {
|
|||
SparkleShare.Controller.GenerateKeyPair ();
|
||||
SparkleShare.Controller.AddKey ();
|
||||
|
||||
SparkleShare.Controller.FirstRun = false;
|
||||
|
||||
DeleteEvent += PreventClose;
|
||||
ShowServerForm ();
|
||||
|
||||
|
|
|
@ -192,6 +192,9 @@ namespace SparkleShare {
|
|||
|
||||
// Opens the wizard to add a new remote folder
|
||||
MenuItem sync_item = new MenuItem (_("Sync Remote Folder…"));
|
||||
|
||||
if (SparkleShare.Controller.FirstRun)
|
||||
sync_item.Sensitive = false;
|
||||
|
||||
sync_item.Activated += delegate {
|
||||
Application.Invoke (delegate {
|
||||
|
|
Loading…
Reference in a new issue