[glom] Moved the Db_AddDel code.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom] Moved the Db_AddDel code.
- Date: Fri, 10 Sep 2010 19:59:52 +0000 (UTC)
commit 4064ccf0eec82bb86dcbf51830dc75cc4e1d02ac
Author: Murray Cumming <murrayc murrayc com>
Date: Fri Sep 10 21:43:37 2010 +0200
Moved the Db_AddDel code.
* glom/utility_widgets/db_adddel/*.[h|cc]: Moved this to
* glom/mode_data/db_adddel/ because that is where it is used.
ChangeLog | 7 ++++
Makefile_glom.am | 30 ++++++++++----------
glom/mode_data/box_data_list.h | 2 +-
glom/mode_data/box_data_manyrecords.h | 2 +-
.../db_adddel/cellrenderer_buttonimage.cc | 0
.../db_adddel/cellrenderer_buttonimage.h | 0
.../db_adddel/cellrenderer_buttontext.cc | 0
.../db_adddel/cellrenderer_buttontext.h | 0
.../db_adddel/cellrenderer_dblist.cc | 0
.../db_adddel/cellrenderer_dblist.h | 0
.../db_adddel/db_adddel.cc | 2 +-
.../db_adddel/db_adddel.h | 2 +-
.../db_adddel/db_adddel_withbuttons.cc | 0
.../db_adddel/db_adddel_withbuttons.h | 0
.../db_adddel/db_treeviewcolumn_glom.cc | 0
.../db_adddel/db_treeviewcolumn_glom.h | 0
.../db_adddel/glom_db_treemodel.cc | 0
.../db_adddel/glom_db_treemodel.h | 0
18 files changed, 26 insertions(+), 19 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 51982cd..c0f1037 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2010-09-10 Murray Cumming <murrayc murrayc com>
+ Moved the Db_AddDel code.
+
+ * glom/utility_widgets/db_adddel/*.[h|cc]: Moved this to
+ * glom/mode_data/db_adddel/ because that is where it is used.
+
+2010-09-10 Murray Cumming <murrayc murrayc com>
+
DbUtils: Improve debug output.
* glom/libglom/db_utils.cc: query_execute_select(): Try to get more
diff --git a/Makefile_glom.am b/Makefile_glom.am
index 6c4fde3..77f395d 100644
--- a/Makefile_glom.am
+++ b/Makefile_glom.am
@@ -93,6 +93,20 @@ glom_source_files = \
glom/mode_data/box_data_portal.h \
glom/mode_data/buttonglom.cc \
glom/mode_data/buttonglom.h \
+ glom/mode_data/db_adddel/cellrenderer_buttonimage.cc \
+ glom/mode_data/db_adddel/cellrenderer_buttonimage.h \
+ glom/mode_data/db_adddel/cellrenderer_buttontext.cc \
+ glom/mode_data/db_adddel/cellrenderer_buttontext.h \
+ glom/mode_data/db_adddel/db_adddel.cc \
+ glom/mode_data/db_adddel/db_adddel.h \
+ glom/mode_data/db_adddel/db_adddel_withbuttons.cc \
+ glom/mode_data/db_adddel/db_adddel_withbuttons.h \
+ glom/mode_data/db_adddel/cellrenderer_dblist.cc \
+ glom/mode_data/db_adddel/cellrenderer_dblist.h \
+ glom/mode_data/db_adddel/db_treeviewcolumn_glom.cc \
+ glom/mode_data/db_adddel/db_treeviewcolumn_glom.h \
+ glom/mode_data/db_adddel/glom_db_treemodel.cc \
+ glom/mode_data/db_adddel/glom_db_treemodel.h \
glom/mode_data/flowtablewithfields.cc \
glom/mode_data/flowtablewithfields.h \
glom/mode_data/notebook_data.cc \
@@ -188,21 +202,7 @@ glom_source_files = \
glom/utility_widgets/canvas/canvas_text_movable.cc \
glom/utility_widgets/canvas/canvas_text_movable.h \
glom/utility_widgets/cellrendererlist.cc \
- glom/utility_widgets/cellrendererlist.h \
- glom/utility_widgets/db_adddel/cellrenderer_buttonimage.cc \
- glom/utility_widgets/db_adddel/cellrenderer_buttonimage.h \
- glom/utility_widgets/db_adddel/cellrenderer_buttontext.cc \
- glom/utility_widgets/db_adddel/cellrenderer_buttontext.h \
- glom/utility_widgets/db_adddel/db_adddel.cc \
- glom/utility_widgets/db_adddel/db_adddel.h \
- glom/utility_widgets/db_adddel/db_adddel_withbuttons.cc \
- glom/utility_widgets/db_adddel/db_adddel_withbuttons.h \
- glom/utility_widgets/db_adddel/cellrenderer_dblist.cc \
- glom/utility_widgets/db_adddel/cellrenderer_dblist.h \
- glom/utility_widgets/db_adddel/db_treeviewcolumn_glom.cc \
- glom/utility_widgets/db_adddel/db_treeviewcolumn_glom.h \
- glom/utility_widgets/db_adddel/glom_db_treemodel.cc \
- glom/utility_widgets/db_adddel/glom_db_treemodel.h
+ glom/utility_widgets/cellrendererlist.h
if !GLOM_ENABLE_CLIENT_ONLY
glom_source_files += \
diff --git a/glom/mode_data/box_data_list.h b/glom/mode_data/box_data_list.h
index ab43fb6..f8dd398 100644
--- a/glom/mode_data/box_data_list.h
+++ b/glom/mode_data/box_data_list.h
@@ -24,7 +24,7 @@
#include "config.h" // GLOM_ENABLE_CLIENT_ONLY
#include "box_data_manyrecords.h"
-#include <glom/utility_widgets/db_adddel/db_adddel_withbuttons.h>
+#include <glom/mode_data/db_adddel/db_adddel_withbuttons.h>
namespace Glom
{
diff --git a/glom/mode_data/box_data_manyrecords.h b/glom/mode_data/box_data_manyrecords.h
index eb71253..1021832 100644
--- a/glom/mode_data/box_data_manyrecords.h
+++ b/glom/mode_data/box_data_manyrecords.h
@@ -24,7 +24,7 @@
#include "config.h" // GLOM_ENABLE_CLIENT_ONLY
#include "box_data.h"
-#include <glom/utility_widgets/db_adddel/db_adddel_withbuttons.h>
+#include <glom/mode_data/db_adddel/db_adddel_withbuttons.h>
namespace Glom
{
diff --git a/glom/utility_widgets/db_adddel/cellrenderer_buttonimage.cc b/glom/mode_data/db_adddel/cellrenderer_buttonimage.cc
similarity index 100%
rename from glom/utility_widgets/db_adddel/cellrenderer_buttonimage.cc
rename to glom/mode_data/db_adddel/cellrenderer_buttonimage.cc
diff --git a/glom/utility_widgets/db_adddel/cellrenderer_buttonimage.h b/glom/mode_data/db_adddel/cellrenderer_buttonimage.h
similarity index 100%
rename from glom/utility_widgets/db_adddel/cellrenderer_buttonimage.h
rename to glom/mode_data/db_adddel/cellrenderer_buttonimage.h
diff --git a/glom/utility_widgets/db_adddel/cellrenderer_buttontext.cc b/glom/mode_data/db_adddel/cellrenderer_buttontext.cc
similarity index 100%
rename from glom/utility_widgets/db_adddel/cellrenderer_buttontext.cc
rename to glom/mode_data/db_adddel/cellrenderer_buttontext.cc
diff --git a/glom/utility_widgets/db_adddel/cellrenderer_buttontext.h b/glom/mode_data/db_adddel/cellrenderer_buttontext.h
similarity index 100%
rename from glom/utility_widgets/db_adddel/cellrenderer_buttontext.h
rename to glom/mode_data/db_adddel/cellrenderer_buttontext.h
diff --git a/glom/utility_widgets/db_adddel/cellrenderer_dblist.cc b/glom/mode_data/db_adddel/cellrenderer_dblist.cc
similarity index 100%
rename from glom/utility_widgets/db_adddel/cellrenderer_dblist.cc
rename to glom/mode_data/db_adddel/cellrenderer_dblist.cc
diff --git a/glom/utility_widgets/db_adddel/cellrenderer_dblist.h b/glom/mode_data/db_adddel/cellrenderer_dblist.h
similarity index 100%
rename from glom/utility_widgets/db_adddel/cellrenderer_dblist.h
rename to glom/mode_data/db_adddel/cellrenderer_dblist.h
diff --git a/glom/utility_widgets/db_adddel/db_adddel.cc b/glom/mode_data/db_adddel/db_adddel.cc
similarity index 99%
rename from glom/utility_widgets/db_adddel/db_adddel.cc
rename to glom/mode_data/db_adddel/db_adddel.cc
index ac67086..1771c52 100644
--- a/glom/utility_widgets/db_adddel/db_adddel.cc
+++ b/glom/mode_data/db_adddel/db_adddel.cc
@@ -22,7 +22,7 @@
#include <algorithm> //For std::find.
#include <glibmm/i18n.h>
#include <glom/utility_widgets/cellrendererlist.h>
-#include <glom/utility_widgets/db_adddel/cellrenderer_dblist.h>
+#include <glom/mode_data/db_adddel/cellrenderer_dblist.h>
#include "db_treeviewcolumn_glom.h"
#include <libglom/data_structure/glomconversions.h>
#include <glom/dialog_invalid_data.h>
diff --git a/glom/utility_widgets/db_adddel/db_adddel.h b/glom/mode_data/db_adddel/db_adddel.h
similarity index 99%
rename from glom/utility_widgets/db_adddel/db_adddel.h
rename to glom/mode_data/db_adddel/db_adddel.h
index 4bbca73..5422d82 100644
--- a/glom/utility_widgets/db_adddel/db_adddel.h
+++ b/glom/mode_data/db_adddel/db_adddel.h
@@ -24,7 +24,7 @@
#include <gtkmm.h>
#include <libglom/data_structure/layout/layoutitem_field.h>
#include <libgdamm.h>
-#include <glom/utility_widgets/db_adddel/glom_db_treemodel.h>
+#include <glom/mode_data/db_adddel/glom_db_treemodel.h>
#include <libglom/document/document.h>
#include <glom/base_db_table_data.h>
diff --git a/glom/utility_widgets/db_adddel/db_adddel_withbuttons.cc b/glom/mode_data/db_adddel/db_adddel_withbuttons.cc
similarity index 100%
rename from glom/utility_widgets/db_adddel/db_adddel_withbuttons.cc
rename to glom/mode_data/db_adddel/db_adddel_withbuttons.cc
diff --git a/glom/utility_widgets/db_adddel/db_adddel_withbuttons.h b/glom/mode_data/db_adddel/db_adddel_withbuttons.h
similarity index 100%
rename from glom/utility_widgets/db_adddel/db_adddel_withbuttons.h
rename to glom/mode_data/db_adddel/db_adddel_withbuttons.h
diff --git a/glom/utility_widgets/db_adddel/db_treeviewcolumn_glom.cc b/glom/mode_data/db_adddel/db_treeviewcolumn_glom.cc
similarity index 100%
rename from glom/utility_widgets/db_adddel/db_treeviewcolumn_glom.cc
rename to glom/mode_data/db_adddel/db_treeviewcolumn_glom.cc
diff --git a/glom/utility_widgets/db_adddel/db_treeviewcolumn_glom.h b/glom/mode_data/db_adddel/db_treeviewcolumn_glom.h
similarity index 100%
rename from glom/utility_widgets/db_adddel/db_treeviewcolumn_glom.h
rename to glom/mode_data/db_adddel/db_treeviewcolumn_glom.h
diff --git a/glom/utility_widgets/db_adddel/glom_db_treemodel.cc b/glom/mode_data/db_adddel/glom_db_treemodel.cc
similarity index 100%
rename from glom/utility_widgets/db_adddel/glom_db_treemodel.cc
rename to glom/mode_data/db_adddel/glom_db_treemodel.cc
diff --git a/glom/utility_widgets/db_adddel/glom_db_treemodel.h b/glom/mode_data/db_adddel/glom_db_treemodel.h
similarity index 100%
rename from glom/utility_widgets/db_adddel/glom_db_treemodel.h
rename to glom/mode_data/db_adddel/glom_db_treemodel.h
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]