From e6cd7f2a9f88fe95a96a1ba8d7fc790e27ad7ab0 Mon Sep 17 00:00:00 2001 From: Jim Norman Date: Fri, 25 Aug 2006 14:43:59 +0000 Subject: [PATCH] Fix build for windows --- CASA/gui/CommonGUI.cs | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/CASA/gui/CommonGUI.cs b/CASA/gui/CommonGUI.cs index 4840464c..f3ed3a3a 100644 --- a/CASA/gui/CommonGUI.cs +++ b/CASA/gui/CommonGUI.cs @@ -41,6 +41,7 @@ namespace Novell.CASA.GUI public static string HINT_DIR = "Export Directory"; public static string HINT_FILENAME = "Export Filename"; + public static string REMEMBER_SETTING = "Remember_Master_Password_Time"; [Glade.Widget] 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) { FileChooserDialog chooser = new FileChooserDialog (sWindowTitle,