aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@gnome.org>2010-03-02 20:30:06 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-03-14 09:49:49 +0800
commit5069df6878424605df09517e3b097c0bb47be746 (patch)
treeef630480d8ccf4342e5e06c21af3b031afc27880
parent8e0c294e15ca3f765e330b1d6ae892b768453fa9 (diff)
downloadgsoc2013-evolution-5069df6878424605df09517e3b097c0bb47be746.tar
gsoc2013-evolution-5069df6878424605df09517e3b097c0bb47be746.tar.gz
gsoc2013-evolution-5069df6878424605df09517e3b097c0bb47be746.tar.bz2
gsoc2013-evolution-5069df6878424605df09517e3b097c0bb47be746.tar.lz
gsoc2013-evolution-5069df6878424605df09517e3b097c0bb47be746.tar.xz
gsoc2013-evolution-5069df6878424605df09517e3b097c0bb47be746.tar.zst
gsoc2013-evolution-5069df6878424605df09517e3b097c0bb47be746.zip
Restructure capplet stuffs and load only on express mode.
-rw-r--r--capplet/Makefile.am34
-rw-r--r--capplet/anjal-settings-main.c2
-rw-r--r--capplet/settings/Makefile.am69
-rw-r--r--capplet/settings/anjal-mail-view.c (renamed from capplet/anjal-mail-view.c)0
-rw-r--r--capplet/settings/anjal-mail-view.h (renamed from capplet/anjal-mail-view.h)0
-rw-r--r--capplet/settings/mail-account-view.c (renamed from capplet/mail-account-view.c)0
-rw-r--r--capplet/settings/mail-account-view.h (renamed from capplet/mail-account-view.h)0
-rw-r--r--capplet/settings/mail-capplet-shell.c (renamed from capplet/mail-capplet-shell.c)0
-rw-r--r--capplet/settings/mail-capplet-shell.h (renamed from capplet/mail-capplet-shell.h)0
-rw-r--r--capplet/settings/mail-decoration.c (renamed from capplet/mail-decoration.c)0
-rw-r--r--capplet/settings/mail-decoration.h (renamed from capplet/mail-decoration.h)0
-rw-r--r--capplet/settings/mail-guess-servers.c (renamed from capplet/mail-guess-servers.c)0
-rw-r--r--capplet/settings/mail-guess-servers.h (renamed from capplet/mail-guess-servers.h)0
-rw-r--r--capplet/settings/mail-settings-view.c (renamed from capplet/mail-settings-view.c)0
-rw-r--r--capplet/settings/mail-settings-view.h (renamed from capplet/mail-settings-view.h)0
-rw-r--r--capplet/settings/mail-view.c (renamed from capplet/mail-view.c)0
-rw-r--r--capplet/settings/mail-view.h (renamed from capplet/mail-view.h)0
-rw-r--r--configure.ac1
-rw-r--r--modules/mail/Makefile.am2
-rw-r--r--modules/mail/em-account-prefs.c2
-rw-r--r--plugins/startup-wizard/Makefile.am2
-rw-r--r--plugins/startup-wizard/startup-wizard.c2
22 files changed, 77 insertions, 37 deletions
diff --git a/capplet/Makefile.am b/capplet/Makefile.am
index dd18c3e994..db32e89444 100644
--- a/capplet/Makefile.am
+++ b/capplet/Makefile.am
@@ -1,3 +1,4 @@
+SUBDIRS = settings
AM_CPPFLAGS = \
-I$(top_srcdir)/widgets \
@@ -36,29 +37,10 @@ AM_CFLAGS =\
bin_PROGRAMS = evolution-settings
-privsolib_LTLIBRARIES = libevolution-mail-settings.la
evolution_settings_SOURCES = \
anjal-settings-main.c
-libevolution_mail_settings_la_SOURCES = \
- mail-settings-view.c \
- mail-settings-view.h \
- mail-account-view.c \
- mail-account-view.h \
- mail-view.c \
- mail-view.h \
- mail-capplet-shell.c \
- mail-capplet-shell.h \
- mail-decoration.c \
- mail-decoration.h \
- anjal-mail-view.h \
- anjal-mail-view.c \
- mail-guess-servers.c \
- mail-guess-servers.h
-
-libevolution_mail_settings_la_CFLAGS = -DANJAL_SETTINGS
-
evolution_settings_LDFLAGS = \
-Wl,--export-dynamic
@@ -73,18 +55,6 @@ evolution_settings_LDADD = \
$(top_builddir)/widgets/misc/libemiscwidgets.la \
$(top_builddir)/filter/libfilter.la \
$(top_builddir)/mail/libevolution-mail.la \
- $(top_builddir)/capplet/libevolution-mail-settings.la
-
-libevolution_mail_settings_la_LIBADD = \
- $(EVOLUTION_MAIL_LIBS) \
- $(CERT_UI_LIBS) \
- $(CANBERRA_LIBS) \
- $(GTKHTML_LIBS) \
- $(E_WIDGETS_LIBS) \
- $(SMIME_LIBS) \
- $(GNOME_PLATFORM_LIBS) \
- $(top_builddir)/widgets/misc/libemiscwidgets.la \
- $(top_builddir)/filter/libfilter.la \
- $(top_builddir)/mail/libevolution-mail.la
+ $(top_builddir)/capplet/settings/libevolution-mail-settings.la
diff --git a/capplet/anjal-settings-main.c b/capplet/anjal-settings-main.c
index 7a90b879f2..f704789521 100644
--- a/capplet/anjal-settings-main.c
+++ b/capplet/anjal-settings-main.c
@@ -34,7 +34,7 @@
#include <glib/gi18n.h>
#include <libedataserverui/e-passwords.h>
#include <mail/mail-mt.h>
-#include "mail-capplet-shell.h"
+#include "settings/mail-capplet-shell.h"
#include <gconf/gconf-client.h>
#include <libedataserver/e-categories.h>
#include <dbus/dbus-glib.h>
diff --git a/capplet/settings/Makefile.am b/capplet/settings/Makefile.am
new file mode 100644
index 0000000000..c3df948f73
--- /dev/null
+++ b/capplet/settings/Makefile.am
@@ -0,0 +1,69 @@
+
+AM_CPPFLAGS = \
+ -I$(top_srcdir)/widgets \
+ -I$(top_srcdir)/widgets/misc \
+ -I$(top_srcdir) \
+ -I$(top_srcdir)/em-format \
+ -I$(top_srcdir)/mail \
+ -I$(top_srcdir)/composer \
+ -I$(top_builddir)/composer \
+ -I$(top_builddir)/shell \
+ -I$(top_srcdir)/shell \
+ -I$(top_srcdir)/smime/lib \
+ -I$(top_srcdir)/smime/gui \
+ $(GNOME_PLATFORM_CFLAGS) \
+ $(EVOLUTION_MAIL_CFLAGS) \
+ $(CERT_UI_CFLAGS) \
+ $(CANBERRA_CFLAGS) \
+ -DEVOLUTION_DATADIR=\""$(datadir)"\" \
+ -DEVOLUTION_PRIVDATADIR=\""$(privdatadir)"\" \
+ -DEVOLUTION_ETSPECDIR=\""$(etspecdir)"\" \
+ -DEVOLUTION_ICONSDIR=\""$(imagesdir)"\" \
+ -DEVOLUTION_IMAGES=\""$(imagesdir)"\" \
+ -DEVOLUTION_GALVIEWSDIR=\""$(viewsdir)"\" \
+ -DEVOLUTION_BUTTONSDIR=\""$(buttonsdir)"\" \
+ -DEVOLUTION_LOCALEDIR=\""$(localedir)"\" \
+ -DEVOLUTION_UIDIR=\""$(uidir)"\" \
+ -DCAMEL_PROVIDERDIR=\""$(camel_providerdir)"\" \
+ -DPREFIX=\""$(prefix)"\" \
+ -DG_LOG_DOMAIN=\"evolution-mail\" \
+ -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
+ -DPACKAGE_DATA_DIR=\""$(datadir)"\"
+
+AM_CFLAGS =\
+ -Wall\
+ -g -O0
+
+privsolib_LTLIBRARIES = libevolution-mail-settings.la
+
+libevolution_mail_settings_la_SOURCES = \
+ mail-settings-view.c \
+ mail-settings-view.h \
+ mail-account-view.c \
+ mail-account-view.h \
+ mail-view.c \
+ mail-view.h \
+ mail-capplet-shell.c \
+ mail-capplet-shell.h \
+ mail-decoration.c \
+ mail-decoration.h \
+ anjal-mail-view.h \
+ anjal-mail-view.c \
+ mail-guess-servers.c \
+ mail-guess-servers.h
+
+libevolution_mail_settings_la_CFLAGS = -DANJAL_SETTINGS
+
+libevolution_mail_settings_la_LIBADD = \
+ $(EVOLUTION_MAIL_LIBS) \
+ $(CERT_UI_LIBS) \
+ $(CANBERRA_LIBS) \
+ $(GTKHTML_LIBS) \
+ $(E_WIDGETS_LIBS) \
+ $(SMIME_LIBS) \
+ $(GNOME_PLATFORM_LIBS) \
+ $(top_builddir)/widgets/misc/libemiscwidgets.la \
+ $(top_builddir)/filter/libfilter.la \
+ $(top_builddir)/mail/libevolution-mail.la
+
+
diff --git a/capplet/anjal-mail-view.c b/capplet/settings/anjal-mail-view.c
index 5178b56422..5178b56422 100644
--- a/capplet/anjal-mail-view.c
+++ b/capplet/settings/anjal-mail-view.c
diff --git a/capplet/anjal-mail-view.h b/capplet/settings/anjal-mail-view.h
index 647d07b29a..647d07b29a 100644
--- a/capplet/anjal-mail-view.h
+++ b/capplet/settings/anjal-mail-view.h
diff --git a/capplet/mail-account-view.c b/capplet/settings/mail-account-view.c
index 94442a98ab..94442a98ab 100644
--- a/capplet/mail-account-view.c
+++ b/capplet/settings/mail-account-view.c
diff --git a/capplet/mail-account-view.h b/capplet/settings/mail-account-view.h
index 5066d83dce..5066d83dce 100644
--- a/capplet/mail-account-view.h
+++ b/capplet/settings/mail-account-view.h
diff --git a/capplet/mail-capplet-shell.c b/capplet/settings/mail-capplet-shell.c
index d1ccdf80ac..d1ccdf80ac 100644
--- a/capplet/mail-capplet-shell.c
+++ b/capplet/settings/mail-capplet-shell.c
diff --git a/capplet/mail-capplet-shell.h b/capplet/settings/mail-capplet-shell.h
index 9cc4255760..9cc4255760 100644
--- a/capplet/mail-capplet-shell.h
+++ b/capplet/settings/mail-capplet-shell.h
diff --git a/capplet/mail-decoration.c b/capplet/settings/mail-decoration.c
index 689bb83285..689bb83285 100644
--- a/capplet/mail-decoration.c
+++ b/capplet/settings/mail-decoration.c
diff --git a/capplet/mail-decoration.h b/capplet/settings/mail-decoration.h
index 9010e8990c..9010e8990c 100644
--- a/capplet/mail-decoration.h
+++ b/capplet/settings/mail-decoration.h
diff --git a/capplet/mail-guess-servers.c b/capplet/settings/mail-guess-servers.c
index 26fc630f16..26fc630f16 100644
--- a/capplet/mail-guess-servers.c
+++ b/capplet/settings/mail-guess-servers.c
diff --git a/capplet/mail-guess-servers.h b/capplet/settings/mail-guess-servers.h
index b1d6746a4d..b1d6746a4d 100644
--- a/capplet/mail-guess-servers.h
+++ b/capplet/settings/mail-guess-servers.h
diff --git a/capplet/mail-settings-view.c b/capplet/settings/mail-settings-view.c
index 154fd0b319..154fd0b319 100644
--- a/capplet/mail-settings-view.c
+++ b/capplet/settings/mail-settings-view.c
diff --git a/capplet/mail-settings-view.h b/capplet/settings/mail-settings-view.h
index 6a649d31ad..6a649d31ad 100644
--- a/capplet/mail-settings-view.h
+++ b/capplet/settings/mail-settings-view.h
diff --git a/capplet/mail-view.c b/capplet/settings/mail-view.c
index cb6afb659d..cb6afb659d 100644
--- a/capplet/mail-view.c
+++ b/capplet/settings/mail-view.c
diff --git a/capplet/mail-view.h b/capplet/settings/mail-view.h
index 339d690c43..339d690c43 100644
--- a/capplet/mail-view.h
+++ b/capplet/settings/mail-view.h
diff --git a/configure.ac b/configure.ac
index f32871f571..7ca9a3f394 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1742,6 +1742,7 @@ smime/lib/Makefile
smime/gui/Makefile
sounds/Makefile
capplet/Makefile
+capplet/settings/Makefile
evolution-zip
evolution-calendar.pc
evolution-mail.pc
diff --git a/modules/mail/Makefile.am b/modules/mail/Makefile.am
index de9eac5ada..65a5c30d1f 100644
--- a/modules/mail/Makefile.am
+++ b/modules/mail/Makefile.am
@@ -61,7 +61,7 @@ libevolution_module_mail_la_LIBADD = \
$(top_builddir)/em-format/libemformat.la \
$(top_builddir)/widgets/menus/libmenus.la \
$(top_builddir)/filter/libfilter.la \
- $(top_builddir)/capplet/libevolution-mail-settings.la \
+ $(top_builddir)/capplet/settings/libevolution-mail-settings.la \
$(EVOLUTION_MAIL_LIBS) \
$(CAMEL_LIBS) \
$(GTKHTML_LIBS) \
diff --git a/modules/mail/em-account-prefs.c b/modules/mail/em-account-prefs.c
index b74915b0f8..df1cdeef27 100644
--- a/modules/mail/em-account-prefs.c
+++ b/modules/mail/em-account-prefs.c
@@ -40,7 +40,7 @@
#include "em-config.h"
#include "em-account-editor.h"
#include "shell/e-shell.h"
-#include "capplet/mail-capplet-shell.h"
+#include "capplet/settings/mail-capplet-shell.h"
#define EM_ACCOUNT_PREFS_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE \
diff --git a/plugins/startup-wizard/Makefile.am b/plugins/startup-wizard/Makefile.am
index 937f5c1ac7..589b61ef37 100644
--- a/plugins/startup-wizard/Makefile.am
+++ b/plugins/startup-wizard/Makefile.am
@@ -24,7 +24,7 @@ liborg_gnome_evolution_startup_wizard_la_LIBADD = \
$(top_builddir)/widgets/misc/libemiscwidgets.la \
$(top_builddir)/calendar/gui/libevolution-calendar.la \
$(top_builddir)/mail/libevolution-mail.la \
- $(top_builddir)/capplet/libevolution-mail-settings.la \
+ $(top_builddir)/capplet/settings/libevolution-mail-settings.la \
$(EVOLUTION_CALENDAR_LIBS) \
$(EVOLUTION_MAIL_LIBS) \
$(GNOME_PLATFORM_LIBS)
diff --git a/plugins/startup-wizard/startup-wizard.c b/plugins/startup-wizard/startup-wizard.c
index 44395b6831..4d7363873e 100644
--- a/plugins/startup-wizard/startup-wizard.c
+++ b/plugins/startup-wizard/startup-wizard.c
@@ -32,7 +32,7 @@
#include "mail/em-account-editor.h"
#include "calendar/gui/calendar-config.h"
-#include "capplet/mail-capplet-shell.h"
+#include "capplet/settings/mail-capplet-shell.h"
void startup_wizard (EPlugin *ep, ESEventTargetUpgrade *target);
GtkWidget *startup_wizard_importer_page (EPlugin *ep, EConfigHookItemFactoryData *hook_data);