pkgsrc/editors/notecase/patches/patch-ag
drochner eac4e73f27 import notecase-1.7.2, a Hierarchical note manager
pkgsrc notes:
-modified to use system libz instead of a bundled copy
-disabled the option to create self-extracting combinations of
 the executable with a data file. This relies on reliable deduction
 of the currrent executable's path which cannot be done in a portable
 way, and it doesn't make much sense anyway because that thing needs
 a zillion of shared libraries.
2007-11-22 20:50:09 +00:00

30 lines
852 B
Text

$NetBSD: patch-ag,v 1.1.1.1 2007/11/22 20:50:09 drochner Exp $
--- src/FileExportDlg.cpp.orig 2007-11-21 20:49:35.000000000 +0100
+++ src/FileExportDlg.cpp
@@ -48,6 +48,7 @@ FileExportDlg::FileExportDlg()
m_formats[3].szFilter = "*.html";
m_formats[4].szName = _("Text file (*.txt)");
m_formats[4].szFilter = "*.txt";
+#if 0
#ifdef _WIN32
m_formats[5].szName = _("Standalone executable (*.exe)");
m_formats[5].szFilter = "*.exe";
@@ -55,6 +56,7 @@ FileExportDlg::FileExportDlg()
m_formats[5].szName = _("Standalone executable");
m_formats[5].szFilter = "*";
#endif
+#endif
Create();
}
@@ -187,7 +189,9 @@ int FileExportDlg::GetFormatCode()
case 2: return FORMAT_NOTECENTER_HTML;
case 3: return FORMAT_HTML;
case 4: return FORMAT_TXT;
+#if 0
case 5: return FORMAT_EXECUTABLE;
+#endif
}
return FORMAT_NONE;
}