summaryrefslogtreecommitdiff
path: root/fluid
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2010-02-27 14:28:22 +0000
committerMatthias Melcher <fltk@matthiasm.com>2010-02-27 14:28:22 +0000
commit5f1ca6a2b05da2905c7c92916acab165db3164b4 (patch)
tree1acbee1ae7cc6bbb8ad351bd7f2305942e25535e /fluid
parent5522143ae6e9e8f16355e443319519daf3bc05a2 (diff)
Added the IDE database file to the SVN, hoping that even without a visual editor yet, I can keep it consitent.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7167 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid')
-rw-r--r--fluid/fluid.cxx2
-rw-r--r--fluid/ide_support.cxx5
2 files changed, 5 insertions, 2 deletions
diff --git a/fluid/fluid.cxx b/fluid/fluid.cxx
index 2905e73e6..d01c2cbbd 100644
--- a/fluid/fluid.cxx
+++ b/fluid/fluid.cxx
@@ -25,7 +25,7 @@
// http://www.fltk.org/str.php
//
-#define IDE_SUPPORT
+#undef IDE_SUPPORT
#include <FL/Fl.H>
#include <FL/Fl_Double_Window.H>
diff --git a/fluid/ide_support.cxx b/fluid/ide_support.cxx
index 5110bf202..41ccd60d2 100644
--- a/fluid/ide_support.cxx
+++ b/fluid/ide_support.cxx
@@ -325,7 +325,10 @@ char with_makefile(Fl_Preferences::ID id) {
int create_new_database(const char *filename)
{
Fl_Preferences *db = new Fl_Preferences(filename, "fltk.org", 0);
- db->clear();
+ // TODO: we do not clear the database anymore! This shoudl keep UUID's
+ // consistent and reduce the size of check-ins. When removing items from
+ // the db, we have to do that manually!
+ //db->clear();
db->set("projectName", "fltk");