Export/import changes

This commit is contained in:
Jim Norman 2006-08-21 17:40:50 +00:00
parent deb207f913
commit 94c34b99e7
4 changed files with 412 additions and 386 deletions

View File

@ -175,7 +175,7 @@ namespace Novell.CASA.GUI
for (int i=0; i<dirs.Length; i++) for (int i=0; i<dirs.Length; i++)
{ {
ts.AppendValues(new Gdk.Pixbuf (Common.IMAGE_PATH + "folder.png", 16, 16), dirs[i].Name, "", "File folder"); ts.AppendValues(new Gdk.Pixbuf (Common.IMAGE_PATH + "folder.png"), dirs[i].Name, "", "File folder");
} }
FileInfo[] files = dirInfo.GetFiles(); FileInfo[] files = dirInfo.GetFiles();

View File

@ -19,7 +19,8 @@ namespace Novell.CASA.GUI
Gtk.Entry entryMasterPassword; Gtk.Entry entryMasterPassword;
[Glade.Widget] [Glade.Widget]
Gtk.Dialog dialogImport; Gtk.Dialog dialogImport,
dialogLogin;
public ImportSecrets(Config config, MiCasa objMiCasa) public ImportSecrets(Config config, MiCasa objMiCasa)
{ {
@ -100,11 +101,33 @@ namespace Novell.CASA.GUI
dialogImport.Show(); dialogImport.Show();
} }
public void OnDialogLoginDeleted(object obj, DeleteEventArgs args) public void OnDialogLoginDeleted(object obj, EventArgs args)
{ {
//cbuttonShowPassword.Active = false; //cbuttonShowPassword.Active = false;
dialogLogin.Destroy(); dialogLogin.Destroy();
args.RetVal = true; }
public void okbuttonLogin_clicked(object obj, EventArgs args)
{
dialogLogin.Destroy();
}
public void closebuttonLogin_clicked(object obj, EventArgs args)
{
dialogLogin.Destroy();
}
public void on_entryMasterPassword3_activate(object obj, EventArgs args)
{
}
public void on_entryMasterPassword4_activate(object obj, EventArgs args)
{
}
public void on_helpbuttonAuthentication_clicked(object obj, EventArgs args)
{
Common.ShowHelpUrl("CASAMasterPasswordAuthentication.htm");
} }
private void on_buttonImportOK_clicked(object sender, EventArgs args) private void on_buttonImportOK_clicked(object sender, EventArgs args)

View File

@ -61,6 +61,9 @@ CSFILES =$(srcdir)/AssemblyInfo.cs \
$(srcdir)/CasaMain.cs \ $(srcdir)/CasaMain.cs \
$(srcdir)/CasaTray.cs \ $(srcdir)/CasaTray.cs \
$(srcdir)/TrayLib.cs \ $(srcdir)/TrayLib.cs \
$(srcdir)/ExportSecrets.cs \
$(srcdir)/FileChooser.cs \
$(srcdir)/ImportSecrets.cs \
$(srcdir)/Firefox.cs \ $(srcdir)/Firefox.cs \
$(srcdir)/GnomeKeyring.cs \ $(srcdir)/GnomeKeyring.cs \
$(srcdir)/KdeWallet.cs \ $(srcdir)/KdeWallet.cs \

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.4 KiB

After

Width:  |  Height:  |  Size: 502 B