Fix unlock issues
This commit is contained in:
parent
68f3349396
commit
7500c9b1dd
@ -301,8 +301,8 @@ public class CasaMain
|
||||
if(entryMasterPassword3.Text != "" && (entryMasterPassword3.Text == entryMasterPassword4.Text))
|
||||
{
|
||||
miCASA.SetMasterPassword(0, entryMasterPassword3.Text);
|
||||
dialogLogin.Destroy();
|
||||
MiCasaRequestReply.Send(MiCasaRequestReply.VERB_UNLOCK_STORE, entryMasterPassword3.Text);
|
||||
dialogLogin.Destroy();
|
||||
InitializeGUI();
|
||||
}
|
||||
else
|
||||
@ -316,8 +316,8 @@ public class CasaMain
|
||||
{
|
||||
if( 0 == miCASA.SetMasterPassword(0, entryMasterPassword3.Text) )
|
||||
{
|
||||
dialogLogin.Destroy();
|
||||
MiCasaRequestReply.Send(MiCasaRequestReply.VERB_UNLOCK_STORE, entryMasterPassword3.Text);
|
||||
dialogLogin.Destroy();
|
||||
InitializeGUI();
|
||||
}
|
||||
else
|
||||
@ -963,11 +963,18 @@ public class CasaMain
|
||||
|
||||
Glade.XML gxmlTemp = new Glade.XML (Common.GladeFile, "dialogPreferences", null);
|
||||
gxmlTemp.Autoconnect (this);
|
||||
dialogPreferences.TransientFor = windowMain;
|
||||
dialogPreferences.SetPosition(Gtk.WindowPosition.CenterOnParent);
|
||||
dialogPreferences.TransientFor = windowMain;
|
||||
checkbuttonFirefox.Active=Common.IS_FIREFOX;
|
||||
checkbuttonMozilla.Active=Common.IS_MOZILLA;
|
||||
checkbuttonGnomeKeyring.Active=Common.IS_GNOMEKEYRING;
|
||||
checkbuttonKdeWallet.Active=Common.IS_KDEWALLET;
|
||||
|
||||
if (Common.IS_WINDOWS)
|
||||
{
|
||||
checkbuttonGnomeKeyring.Sensitive = false;
|
||||
checkbuttonKdeWallet.Sensitive = false;
|
||||
}
|
||||
|
||||
Logger.DbgLog("GUI:CasaMain.Preferences() - END");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user