[gnome-todo] project: Reorganize files



commit fd7de9a90d61ea7ec71765e5cc675a8c1a226292
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Tue Sep 4 15:17:54 2018 -0300

    project: Reorganize files
    
    Move GtdTaskListView and family to its own subdirectory,
    and stop polluting src/ with those files.

 meson.build                                      |  9 ++++++++-
 src/meson.build                                  | 19 ++++++++++---------
 src/{ => task-list-view}/gtd-dnd-row.c           |  0
 src/{ => task-list-view}/gtd-dnd-row.h           |  0
 src/{ => task-list-view}/gtd-edit-pane.c         |  0
 src/{ => task-list-view}/gtd-edit-pane.h         |  0
 src/{ => task-list-view}/gtd-markdown-renderer.c |  0
 src/{ => task-list-view}/gtd-markdown-renderer.h |  0
 src/{ => task-list-view}/gtd-new-task-row.c      |  0
 src/{ => task-list-view}/gtd-new-task-row.h      |  0
 src/{ => task-list-view}/gtd-task-list-view.c    |  0
 src/{ => task-list-view}/gtd-task-list-view.h    |  0
 src/{ => task-list-view}/gtd-task-row.c          |  0
 src/{ => task-list-view}/gtd-task-row.h          |  0
 14 files changed, 18 insertions(+), 10 deletions(-)
---
diff --git a/meson.build b/meson.build
index 05b08ed..e0ba184 100644
--- a/meson.build
+++ b/meson.build
@@ -161,7 +161,14 @@ i18n = import('i18n')
 pkg = import('pkgconfig')
 
 top_inc = include_directories('.')
-src_inc = include_directories('src', 'src/engine', 'src/interfaces', 'src/notification', 'src/widgets')
+src_inc = include_directories(
+  'src',
+  'src/engine',
+  'src/interfaces',
+  'src/notification',
+  'src/task-list-view',
+  'src/widgets',
+)
 
 data_dir = join_paths(meson.source_root(), 'data')
 po_dir = join_paths(meson.source_root(), 'po')
diff --git a/src/meson.build b/src/meson.build
index 3703d29..07fec83 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -11,10 +11,10 @@ headers = enum_headers + files(
   'interfaces/gtd-panel.h',
   'interfaces/gtd-provider.h',
   'notification/gtd-notification.h',
+  'task-list-view/gtd-task-list-view.h',
   'gtd-object.h',
   'gtd-task.h',
   'gtd-task-list.h',
-  'gtd-task-list-view.h',
   'gtd-timer.h',
   'gtd-types.h',
   'gtd-utils.h',
@@ -45,17 +45,19 @@ sources = files(
   'sidebar/gtd-sidebar-list-row.c',
   'sidebar/gtd-sidebar-panel-row.c',
   'sidebar/gtd-sidebar-provider-row.c',
+  'task-list-view/gtd-edit-pane.c',
+  'task-list-view/gtd-dnd-row.c',
+  'task-list-view/gtd-markdown-renderer.c',
+  'task-list-view/gtd-new-task-row.c',
+  'task-list-view/gtd-task-list-view.c',
+  'task-list-view/gtd-task-row.c',
   'widgets/gtd-color-button.c',
   'widgets/gtd-done-button.c',
   'widgets/gtd-expandable-entry.c',
   'widgets/gtd-row-header.c',
   'gtd-application.c',
-  'gtd-dnd-row.c',
-  'gtd-edit-pane.c',
   'gtd-empty-list-widget.c',
   'gtd-initial-setup-window.c',
-  'gtd-markdown-renderer.c',
-  'gtd-new-task-row.c',
   'gtd-object.c',
   'gtd-plugin-dialog.c',
   'gtd-plugin-dialog-row.c',
@@ -63,8 +65,6 @@ sources = files(
   'gtd-task.c',
   'gtd-task-list.c',
   'gtd-task-list-panel.c',
-  'gtd-task-list-view.c',
-  'gtd-task-row.c',
   'gtd-timer.c',
   'gtd-utils.c',
   'gtd-window.c',
@@ -95,6 +95,7 @@ incs = [
     'engine',
     'provider',
     'logging',
+    'task-list-view',
     'notification',
     'interfaces',
     'widgets',
@@ -201,6 +202,8 @@ if get_option('introspection')
     'interfaces/gtd-provider.h',
     'notification/gtd-notification.c',
     'notification/gtd-notification.h',
+    'task-list-view/gtd-task-list-view.c',
+    'task-list-view/gtd-task-list-view.h',
     'gtd-enums.h',
     'gtd-object.c',
     'gtd-object.h',
@@ -208,8 +211,6 @@ if get_option('introspection')
     'gtd-task.h',
     'gtd-task-list.c',
     'gtd-task-list.h',
-    'gtd-task-list-view.c',
-    'gtd-task-list-view.h',
     'gtd-timer.c',
     'gtd-timer.h',
     'gtd-types.h',
diff --git a/src/gtd-dnd-row.c b/src/task-list-view/gtd-dnd-row.c
similarity index 100%
rename from src/gtd-dnd-row.c
rename to src/task-list-view/gtd-dnd-row.c
diff --git a/src/gtd-dnd-row.h b/src/task-list-view/gtd-dnd-row.h
similarity index 100%
rename from src/gtd-dnd-row.h
rename to src/task-list-view/gtd-dnd-row.h
diff --git a/src/gtd-edit-pane.c b/src/task-list-view/gtd-edit-pane.c
similarity index 100%
rename from src/gtd-edit-pane.c
rename to src/task-list-view/gtd-edit-pane.c
diff --git a/src/gtd-edit-pane.h b/src/task-list-view/gtd-edit-pane.h
similarity index 100%
rename from src/gtd-edit-pane.h
rename to src/task-list-view/gtd-edit-pane.h
diff --git a/src/gtd-markdown-renderer.c b/src/task-list-view/gtd-markdown-renderer.c
similarity index 100%
rename from src/gtd-markdown-renderer.c
rename to src/task-list-view/gtd-markdown-renderer.c
diff --git a/src/gtd-markdown-renderer.h b/src/task-list-view/gtd-markdown-renderer.h
similarity index 100%
rename from src/gtd-markdown-renderer.h
rename to src/task-list-view/gtd-markdown-renderer.h
diff --git a/src/gtd-new-task-row.c b/src/task-list-view/gtd-new-task-row.c
similarity index 100%
rename from src/gtd-new-task-row.c
rename to src/task-list-view/gtd-new-task-row.c
diff --git a/src/gtd-new-task-row.h b/src/task-list-view/gtd-new-task-row.h
similarity index 100%
rename from src/gtd-new-task-row.h
rename to src/task-list-view/gtd-new-task-row.h
diff --git a/src/gtd-task-list-view.c b/src/task-list-view/gtd-task-list-view.c
similarity index 100%
rename from src/gtd-task-list-view.c
rename to src/task-list-view/gtd-task-list-view.c
diff --git a/src/gtd-task-list-view.h b/src/task-list-view/gtd-task-list-view.h
similarity index 100%
rename from src/gtd-task-list-view.h
rename to src/task-list-view/gtd-task-list-view.h
diff --git a/src/gtd-task-row.c b/src/task-list-view/gtd-task-row.c
similarity index 100%
rename from src/gtd-task-row.c
rename to src/task-list-view/gtd-task-row.c
diff --git a/src/gtd-task-row.h b/src/task-list-view/gtd-task-row.h
similarity index 100%
rename from src/gtd-task-row.h
rename to src/task-list-view/gtd-task-row.h


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]