Fix build for windows

This commit is contained in:
Jim Norman 2006-08-25 14:43:59 +00:00
parent a9f0288f17
commit e6cd7f2a9f

View File

@ -41,6 +41,7 @@ namespace Novell.CASA.GUI
public static string HINT_DIR = "Export Directory"; public static string HINT_DIR = "Export Directory";
public static string HINT_FILENAME = "Export Filename"; public static string HINT_FILENAME = "Export Filename";
public static string REMEMBER_SETTING = "Remember_Master_Password_Time";
[Glade.Widget] [Glade.Widget]
Gtk.Label label86, Gtk.Label label86,
@ -216,7 +217,20 @@ namespace Novell.CASA.GUI
} }
} }
#if W32 // remember MP until functions
private static DateTime m_dtRememberUntil = new DateTime(0);
public static void SetRememberMPUntil(DateTime dtDateTime)
{
m_dtRememberUntil = dtDateTime;
}
public static DateTime GetRememberMPUntil()
{
return m_dtRememberUntil;
}
#if GTK2x
public static string FileChooser(FileChooserAction action, String sWindowTitle, String sCurrentFolder, String sHintFileName) public static string FileChooser(FileChooserAction action, String sWindowTitle, String sCurrentFolder, String sHintFileName)
{ {
FileChooserDialog chooser = new FileChooserDialog (sWindowTitle, FileChooserDialog chooser = new FileChooserDialog (sWindowTitle,