[evolution] Move ECalSourceConfig to /widgets/misc.



commit ca6348199249989e124c45402ed5b78c1bc92f16
Author: Matthew Barnes <mbarnes redhat com>
Date:   Thu Jun 14 15:40:42 2012 -0400

    Move ECalSourceConfig to /widgets/misc.
    
    ECalSourceConfig drags in no additional dependencies, and although we do
    publish a libevolution-calendar.so, this keeps all the ESource config UI
    in one place so it can more easily be moved to Evolution-Data-Server.

 calendar/gui/Makefile.am                           |    3 ---
 .../evolution-cal-config-caldav.c                  |    2 +-
 .../evolution-cal-config-contacts.c                |    2 +-
 .../evolution-cal-config-google.c                  |    2 +-
 .../cal-config-local/evolution-cal-config-local.c  |    2 +-
 .../evolution-cal-config-weather.c                 |    2 +-
 .../evolution-cal-config-webcal.c                  |    2 +-
 modules/calendar/e-cal-shell-backend.c             |    2 +-
 modules/calendar/e-cal-shell-view-private.h        |    2 +-
 modules/calendar/e-memo-shell-backend.c            |    2 +-
 modules/calendar/e-memo-shell-view-private.h       |    2 +-
 modules/calendar/e-task-shell-backend.c            |    2 +-
 modules/calendar/e-task-shell-view-private.h       |    2 +-
 widgets/misc/Makefile.am                           |    2 ++
 .../gui => widgets/misc}/e-cal-source-config.c     |    0
 .../gui => widgets/misc}/e-cal-source-config.h     |    0
 16 files changed, 14 insertions(+), 15 deletions(-)
---
diff --git a/calendar/gui/Makefile.am b/calendar/gui/Makefile.am
index 3e27988..7599180 100644
--- a/calendar/gui/Makefile.am
+++ b/calendar/gui/Makefile.am
@@ -16,7 +16,6 @@ ecalendarinclude_HEADERS =			\
 	e-cal-list-view.h			\
 	e-cal-model-calendar.h			\
 	e-cal-model.h				\
-	e-cal-source-config.h			\
 	e-calendar-selector.h			\
 	e-calendar-view.h			\
 	e-cell-date-edit-text.h			\
@@ -108,8 +107,6 @@ libevolution_calendar_la_SOURCES = \
 	e-cal-model-memos.h			\
 	e-cal-model-tasks.c			\
 	e-cal-model-tasks.h			\
-	e-cal-source-config.c			\
-	e-cal-source-config.h			\
 	e-calendar-selector.c			\
 	e-calendar-selector.h			\
 	e-calendar-view.c			\
diff --git a/modules/cal-config-caldav/evolution-cal-config-caldav.c b/modules/cal-config-caldav/evolution-cal-config-caldav.c
index 932f55a..f6da2df 100644
--- a/modules/cal-config-caldav/evolution-cal-config-caldav.c
+++ b/modules/cal-config-caldav/evolution-cal-config-caldav.c
@@ -21,9 +21,9 @@
 
 #include <libebackend/libebackend.h>
 
+#include <misc/e-cal-source-config.h>
 #include <misc/e-interval-chooser.h>
 #include <misc/e-source-config-backend.h>
-#include <calendar/gui/e-cal-source-config.h>
 
 #include "e-caldav-chooser.h"
 #include "e-caldav-chooser-dialog.h"
diff --git a/modules/cal-config-contacts/evolution-cal-config-contacts.c b/modules/cal-config-contacts/evolution-cal-config-contacts.c
index daf2127..5efc8b0 100644
--- a/modules/cal-config-contacts/evolution-cal-config-contacts.c
+++ b/modules/cal-config-contacts/evolution-cal-config-contacts.c
@@ -21,9 +21,9 @@
 
 #include <libebackend/libebackend.h>
 
+#include <misc/e-cal-source-config.h>
 #include <misc/e-book-source-config.h>
 #include <misc/e-source-config-backend.h>
-#include <calendar/gui/e-cal-source-config.h>
 
 #include "e-contacts-selector.h"
 #include "e-source-contacts.h"
diff --git a/modules/cal-config-google/evolution-cal-config-google.c b/modules/cal-config-google/evolution-cal-config-google.c
index eb2f133..2447e70 100644
--- a/modules/cal-config-google/evolution-cal-config-google.c
+++ b/modules/cal-config-google/evolution-cal-config-google.c
@@ -21,8 +21,8 @@
 
 #include <libebackend/libebackend.h>
 
+#include <misc/e-cal-source-config.h>
 #include <misc/e-source-config-backend.h>
-#include <calendar/gui/e-cal-source-config.h>
 
 #include "e-google-chooser-button.h"
 #include "e-google-chooser-dialog.h"
diff --git a/modules/cal-config-local/evolution-cal-config-local.c b/modules/cal-config-local/evolution-cal-config-local.c
index a8f7696..2e1200a 100644
--- a/modules/cal-config-local/evolution-cal-config-local.c
+++ b/modules/cal-config-local/evolution-cal-config-local.c
@@ -21,8 +21,8 @@
 
 #include <libebackend/libebackend.h>
 
+#include <misc/e-cal-source-config.h>
 #include <misc/e-source-config-backend.h>
-#include <calendar/gui/e-cal-source-config.h>
 
 #include "e-source-local.h"
 
diff --git a/modules/cal-config-weather/evolution-cal-config-weather.c b/modules/cal-config-weather/evolution-cal-config-weather.c
index 28df80e..587be55 100644
--- a/modules/cal-config-weather/evolution-cal-config-weather.c
+++ b/modules/cal-config-weather/evolution-cal-config-weather.c
@@ -25,8 +25,8 @@
 #include <libgweather/location-entry.h>
 #undef GWEATHER_I_KNOW_THIS_IS_UNSTABLE
 
+#include <misc/e-cal-source-config.h>
 #include <misc/e-source-config-backend.h>
-#include <calendar/gui/e-cal-source-config.h>
 
 #include "e-source-weather.h"
 
diff --git a/modules/cal-config-webcal/evolution-cal-config-webcal.c b/modules/cal-config-webcal/evolution-cal-config-webcal.c
index 94a209b..615afaa 100644
--- a/modules/cal-config-webcal/evolution-cal-config-webcal.c
+++ b/modules/cal-config-webcal/evolution-cal-config-webcal.c
@@ -21,9 +21,9 @@
 
 #include <libebackend/libebackend.h>
 
+#include <misc/e-cal-source-config.h>
 #include <misc/e-interval-chooser.h>
 #include <misc/e-source-config-backend.h>
-#include <calendar/gui/e-cal-source-config.h>
 
 typedef ESourceConfigBackend ECalConfigWebcal;
 typedef ESourceConfigBackendClass ECalConfigWebcalClass;
diff --git a/modules/calendar/e-cal-shell-backend.c b/modules/calendar/e-cal-shell-backend.c
index a5283b0..0cfe9b8 100644
--- a/modules/calendar/e-cal-shell-backend.c
+++ b/modules/calendar/e-cal-shell-backend.c
@@ -34,12 +34,12 @@
 #include "shell/e-shell.h"
 #include "shell/e-shell-backend.h"
 #include "shell/e-shell-window.h"
+#include "widgets/misc/e-cal-source-config.h"
 #include "widgets/misc/e-preferences-window.h"
 #include "widgets/misc/e-source-config-dialog.h"
 
 #include "calendar/gui/comp-util.h"
 #include "calendar/gui/dialogs/event-editor.h"
-#include "calendar/gui/e-cal-source-config.h"
 #include "calendar/gui/e-calendar-view.h"
 #include "calendar/gui/gnome-cal.h"
 #include "calendar/importers/evolution-calendar-importer.h"
diff --git a/modules/calendar/e-cal-shell-view-private.h b/modules/calendar/e-cal-shell-view-private.h
index 4a08388..9764138 100644
--- a/modules/calendar/e-cal-shell-view-private.h
+++ b/modules/calendar/e-cal-shell-view-private.h
@@ -37,6 +37,7 @@
 
 #include <shell/e-shell-utils.h>
 
+#include <misc/e-cal-source-config.h>
 #include <misc/e-popup-action.h>
 #include <misc/e-selectable.h>
 #include <misc/e-source-config-dialog.h>
@@ -45,7 +46,6 @@
 #include <calendar/gui/comp-util.h>
 #include <calendar/gui/e-cal-list-view.h>
 #include <calendar/gui/e-cal-model-tasks.h>
-#include <calendar/gui/e-cal-source-config.h>
 #include <calendar/gui/e-calendar-view.h>
 #include <calendar/gui/e-day-view.h>
 #include <calendar/gui/e-week-view.h>
diff --git a/modules/calendar/e-memo-shell-backend.c b/modules/calendar/e-memo-shell-backend.c
index be69870..db042cb 100644
--- a/modules/calendar/e-memo-shell-backend.c
+++ b/modules/calendar/e-memo-shell-backend.c
@@ -33,11 +33,11 @@
 #include "shell/e-shell.h"
 #include "shell/e-shell-backend.h"
 #include "shell/e-shell-window.h"
+#include "widgets/misc/e-cal-source-config.h"
 #include "widgets/misc/e-source-config-dialog.h"
 
 #include "calendar/gui/comp-util.h"
 #include "calendar/gui/dialogs/memo-editor.h"
-#include "calendar/gui/e-cal-source-config.h"
 
 #include "e-memo-shell-migrate.h"
 #include "e-memo-shell-view.h"
diff --git a/modules/calendar/e-memo-shell-view-private.h b/modules/calendar/e-memo-shell-view-private.h
index 84def28..4e65d00 100644
--- a/modules/calendar/e-memo-shell-view-private.h
+++ b/modules/calendar/e-memo-shell-view-private.h
@@ -31,13 +31,13 @@
 #include "e-util/e-file-utils.h"
 #include "e-util/e-util.h"
 #include "shell/e-shell-utils.h"
+#include "misc/e-cal-source-config.h"
 #include "misc/e-popup-action.h"
 #include "misc/e-selectable.h"
 #include "misc/e-source-config-dialog.h"
 
 #include "calendar/gui/comp-util.h"
 #include "calendar/gui/e-cal-component-preview.h"
-#include "calendar/gui/e-cal-source-config.h"
 #include "calendar/gui/e-calendar-selector.h"
 #include "calendar/gui/print.h"
 #include "calendar/gui/dialogs/copy-source-dialog.h"
diff --git a/modules/calendar/e-task-shell-backend.c b/modules/calendar/e-task-shell-backend.c
index 7ecad1c..dd6acb0 100644
--- a/modules/calendar/e-task-shell-backend.c
+++ b/modules/calendar/e-task-shell-backend.c
@@ -33,11 +33,11 @@
 #include "shell/e-shell.h"
 #include "shell/e-shell-backend.h"
 #include "shell/e-shell-window.h"
+#include "widgets/misc/e-cal-source-config.h"
 #include "widgets/misc/e-source-config-dialog.h"
 
 #include "calendar/gui/comp-util.h"
 #include "calendar/gui/dialogs/task-editor.h"
-#include "calendar/gui/e-cal-source-config.h"
 
 #include "e-task-shell-content.h"
 #include "e-task-shell-migrate.h"
diff --git a/modules/calendar/e-task-shell-view-private.h b/modules/calendar/e-task-shell-view-private.h
index 1bb0c5c..062ac45 100644
--- a/modules/calendar/e-task-shell-view-private.h
+++ b/modules/calendar/e-task-shell-view-private.h
@@ -33,6 +33,7 @@
 #include "e-util/e-file-utils.h"
 #include "e-util/e-util.h"
 #include "shell/e-shell-utils.h"
+#include "misc/e-cal-source-config.h"
 #include "misc/e-popup-action.h"
 #include "misc/e-selectable.h"
 #include "misc/e-source-config-dialog.h"
@@ -41,7 +42,6 @@
 #include "calendar/gui/comp-util.h"
 #include "calendar/gui/e-cal-component-preview.h"
 #include "calendar/gui/e-cal-model-tasks.h"
-#include "calendar/gui/e-cal-source-config.h"
 #include "calendar/gui/e-calendar-selector.h"
 #include "calendar/gui/print.h"
 #include "calendar/gui/dialogs/copy-source-dialog.h"
diff --git a/widgets/misc/Makefile.am b/widgets/misc/Makefile.am
index fd6997f..b5d7f88 100644
--- a/widgets/misc/Makefile.am
+++ b/widgets/misc/Makefile.am
@@ -26,6 +26,7 @@ widgetsinclude_HEADERS =			\
 	e-autocomplete-selector.h		\
 	e-book-source-config.h			\
 	e-buffer-tagger.h			\
+	e-cal-source-config.h			\
 	e-calendar.h				\
 	e-calendar-item.h			\
 	e-canvas.h				\
@@ -117,6 +118,7 @@ libemiscwidgets_la_SOURCES =			\
 	e-autocomplete-selector.c		\
 	e-book-source-config.c			\
 	e-buffer-tagger.c			\
+	e-cal-source-config.c			\
 	e-calendar.c				\
 	e-calendar-item.c			\
 	e-canvas.c				\
diff --git a/calendar/gui/e-cal-source-config.c b/widgets/misc/e-cal-source-config.c
similarity index 100%
rename from calendar/gui/e-cal-source-config.c
rename to widgets/misc/e-cal-source-config.c
diff --git a/calendar/gui/e-cal-source-config.h b/widgets/misc/e-cal-source-config.h
similarity index 100%
rename from calendar/gui/e-cal-source-config.h
rename to widgets/misc/e-cal-source-config.h



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