aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-05-27 21:23:07 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:42:20 +0800
commitc24038c4f62f37b89d1bda9542ca5ccc843d4ea0 (patch)
treef28b45a375ba145b9a1cfd36b575d40e54b20b34 /calendar/gui
parentbb204a16eac48d7577e7315ea50e050ce009e44d (diff)
downloadgsoc2013-evolution-c24038c4f62f37b89d1bda9542ca5ccc843d4ea0.tar
gsoc2013-evolution-c24038c4f62f37b89d1bda9542ca5ccc843d4ea0.tar.gz
gsoc2013-evolution-c24038c4f62f37b89d1bda9542ca5ccc843d4ea0.tar.bz2
gsoc2013-evolution-c24038c4f62f37b89d1bda9542ca5ccc843d4ea0.tar.lz
gsoc2013-evolution-c24038c4f62f37b89d1bda9542ca5ccc843d4ea0.tar.xz
gsoc2013-evolution-c24038c4f62f37b89d1bda9542ca5ccc843d4ea0.tar.zst
gsoc2013-evolution-c24038c4f62f37b89d1bda9542ca5ccc843d4ea0.zip
Bug #646109 - Fix use of include <config.h> to make sure translations work
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/alarm-notify/alarm-notify-dialog.c3
-rw-r--r--calendar/gui/alarm-notify/alarm-notify.c2
-rw-r--r--calendar/gui/alarm-notify/alarm.c3
-rw-r--r--calendar/gui/alarm-notify/config-data.c2
-rw-r--r--calendar/gui/alarm-notify/notify-main.c3
-rw-r--r--calendar/gui/dialogs/e-send-options-utils.c5
-rw-r--r--calendar/gui/e-alarm-list.c3
-rw-r--r--calendar/gui/e-cal-component-preview.c4
-rw-r--r--calendar/gui/e-calendar-selector.c4
-rw-r--r--calendar/gui/e-date-time-list.c4
-rw-r--r--calendar/gui/e-day-view-layout.c2
-rw-r--r--calendar/gui/e-day-view.c1
-rw-r--r--calendar/gui/e-meeting-attendee.h4
-rw-r--r--calendar/gui/e-meeting-time-sel-item.c1
-rw-r--r--calendar/gui/e-meeting-types.h4
-rw-r--r--calendar/gui/e-meeting-utils.h4
-rw-r--r--calendar/gui/e-memo-list-selector.c4
-rw-r--r--calendar/gui/e-month-view.c4
-rw-r--r--calendar/gui/e-select-names-editable.c3
-rw-r--r--calendar/gui/e-select-names-renderer.c2
-rw-r--r--calendar/gui/e-task-list-selector.c4
-rw-r--r--calendar/gui/e-timezone-entry.c3
-rw-r--r--calendar/gui/e-week-view-layout.c2
-rw-r--r--calendar/gui/ea-cal-view-event.c4
-rw-r--r--calendar/gui/ea-cal-view.c4
-rw-r--r--calendar/gui/ea-calendar-helpers.c4
-rw-r--r--calendar/gui/ea-calendar.c4
-rw-r--r--calendar/gui/ea-day-view-cell.c4
-rw-r--r--calendar/gui/ea-day-view-main-item.c4
-rw-r--r--calendar/gui/ea-day-view.c4
-rw-r--r--calendar/gui/ea-gnome-calendar.c4
-rw-r--r--calendar/gui/ea-jump-button.c4
-rw-r--r--calendar/gui/ea-week-view-cell.c4
-rw-r--r--calendar/gui/ea-week-view-main-item.c4
-rw-r--r--calendar/gui/ea-week-view.c4
35 files changed, 105 insertions, 14 deletions
diff --git a/calendar/gui/alarm-notify/alarm-notify-dialog.c b/calendar/gui/alarm-notify/alarm-notify-dialog.c
index 8860f258a2..eac9424de3 100644
--- a/calendar/gui/alarm-notify/alarm-notify-dialog.c
+++ b/calendar/gui/alarm-notify/alarm-notify-dialog.c
@@ -22,7 +22,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
#include <config.h>
+#endif
+
#include <stdio.h>
#include <string.h>
#include <glib/gi18n.h>
diff --git a/calendar/gui/alarm-notify/alarm-notify.c b/calendar/gui/alarm-notify/alarm-notify.c
index 26c84bb056..96e8a177aa 100644
--- a/calendar/gui/alarm-notify/alarm-notify.c
+++ b/calendar/gui/alarm-notify/alarm-notify.c
@@ -21,7 +21,7 @@
*/
#ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
#endif
#include <string.h>
diff --git a/calendar/gui/alarm-notify/alarm.c b/calendar/gui/alarm-notify/alarm.c
index a19f363460..95d1d7b5a2 100644
--- a/calendar/gui/alarm-notify/alarm.c
+++ b/calendar/gui/alarm-notify/alarm.c
@@ -23,7 +23,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
#include <config.h>
+#endif
+
#include <unistd.h>
#include <time.h>
#include <fcntl.h>
diff --git a/calendar/gui/alarm-notify/config-data.c b/calendar/gui/alarm-notify/config-data.c
index 2aab3cee71..e1fe1f48ff 100644
--- a/calendar/gui/alarm-notify/config-data.c
+++ b/calendar/gui/alarm-notify/config-data.c
@@ -22,7 +22,7 @@
*
*/
-#ifdef HAVE_CONFIOH
+#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/calendar/gui/alarm-notify/notify-main.c b/calendar/gui/alarm-notify/notify-main.c
index db74af8e9a..a420074c4d 100644
--- a/calendar/gui/alarm-notify/notify-main.c
+++ b/calendar/gui/alarm-notify/notify-main.c
@@ -23,7 +23,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
#include <config.h>
+#endif
+
#include <glib/gi18n.h>
#include "alarm-notify.h"
diff --git a/calendar/gui/dialogs/e-send-options-utils.c b/calendar/gui/dialogs/e-send-options-utils.c
index b21352d6f3..72104a1cd5 100644
--- a/calendar/gui/dialogs/e-send-options-utils.c
+++ b/calendar/gui/dialogs/e-send-options-utils.c
@@ -22,7 +22,12 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-send-options-utils.h"
+
#include <glib.h>
#include <string.h>
diff --git a/calendar/gui/e-alarm-list.c b/calendar/gui/e-alarm-list.c
index 4132cb785c..3a1efc3333 100644
--- a/calendar/gui/e-alarm-list.c
+++ b/calendar/gui/e-alarm-list.c
@@ -22,7 +22,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
#include <config.h>
+#endif
+
#include <string.h>
#include <glib/gi18n.h>
#include <libecal/e-cal-time-util.h>
diff --git a/calendar/gui/e-cal-component-preview.c b/calendar/gui/e-cal-component-preview.c
index ebcc290cd9..c964a6f1ed 100644
--- a/calendar/gui/e-cal-component-preview.c
+++ b/calendar/gui/e-cal-component-preview.c
@@ -22,6 +22,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-cal-component-preview.h"
#include <string.h>
diff --git a/calendar/gui/e-calendar-selector.c b/calendar/gui/e-calendar-selector.c
index 8f9c063634..86d42aedb1 100644
--- a/calendar/gui/e-calendar-selector.c
+++ b/calendar/gui/e-calendar-selector.c
@@ -18,6 +18,10 @@
* Boston, MA 02110-1301, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-calendar-selector.h"
#include <libecal/e-cal.h>
diff --git a/calendar/gui/e-date-time-list.c b/calendar/gui/e-date-time-list.c
index 37353381bd..404fac9c99 100644
--- a/calendar/gui/e-date-time-list.c
+++ b/calendar/gui/e-date-time-list.c
@@ -22,6 +22,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <string.h>
#include <libedataserver/e-time-utils.h>
#include "e-date-time-list.h"
diff --git a/calendar/gui/e-day-view-layout.c b/calendar/gui/e-day-view-layout.c
index bdb51977cc..a4cdece5c0 100644
--- a/calendar/gui/e-day-view-layout.c
+++ b/calendar/gui/e-day-view-layout.c
@@ -26,7 +26,9 @@
* used for printing.
*/
+#ifdef HAVE_CONFIG_H
#include <config.h>
+#endif
#include "e-day-view-layout.h"
#include "e-util/e-bit-array.h"
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index af28e3cc12..a9d4302c3b 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -21,6 +21,7 @@
*
* Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
*/
+
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/calendar/gui/e-meeting-attendee.h b/calendar/gui/e-meeting-attendee.h
index d24b013ec6..145e28c59b 100644
--- a/calendar/gui/e-meeting-attendee.h
+++ b/calendar/gui/e-meeting-attendee.h
@@ -24,10 +24,6 @@
#ifndef _E_MEETING_ATTENDEE_H_
#define _E_MEETING_ATTENDEE_H_
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
#include <gtk/gtk.h>
#include <libecal/e-cal-component.h>
#include "e-meeting-types.h"
diff --git a/calendar/gui/e-meeting-time-sel-item.c b/calendar/gui/e-meeting-time-sel-item.c
index 0ac891c615..65cbc39c9b 100644
--- a/calendar/gui/e-meeting-time-sel-item.c
+++ b/calendar/gui/e-meeting-time-sel-item.c
@@ -22,6 +22,7 @@
*
* Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
*/
+
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/calendar/gui/e-meeting-types.h b/calendar/gui/e-meeting-types.h
index 49ddaf22e3..a2952a8618 100644
--- a/calendar/gui/e-meeting-types.h
+++ b/calendar/gui/e-meeting-types.h
@@ -24,10 +24,6 @@
#ifndef _E_MEETING_TYPES_H_
#define _E_MEETING_TYPES_H_
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
#include <glib.h>
#include "e-meeting-types.h"
diff --git a/calendar/gui/e-meeting-utils.h b/calendar/gui/e-meeting-utils.h
index 1777d2c7ff..250437d07c 100644
--- a/calendar/gui/e-meeting-utils.h
+++ b/calendar/gui/e-meeting-utils.h
@@ -24,10 +24,6 @@
#ifndef _E_MEETING_UTILS_H_
#define _E_MEETING_UTILS_H_
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
#include <glib.h>
#include "e-meeting-types.h"
diff --git a/calendar/gui/e-memo-list-selector.c b/calendar/gui/e-memo-list-selector.c
index 91c6b7fb9a..bb41412417 100644
--- a/calendar/gui/e-memo-list-selector.c
+++ b/calendar/gui/e-memo-list-selector.c
@@ -18,6 +18,10 @@
* Boston, MA 02110-1301, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-memo-list-selector.h"
#include <string.h>
diff --git a/calendar/gui/e-month-view.c b/calendar/gui/e-month-view.c
index 45ff2bd04e..ca8fe3a1de 100644
--- a/calendar/gui/e-month-view.c
+++ b/calendar/gui/e-month-view.c
@@ -19,6 +19,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-month-view.h"
#include <libecal/e-cal-time-util.h>
diff --git a/calendar/gui/e-select-names-editable.c b/calendar/gui/e-select-names-editable.c
index 52d6b82ed0..6b541e170a 100644
--- a/calendar/gui/e-select-names-editable.c
+++ b/calendar/gui/e-select-names-editable.c
@@ -20,7 +20,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
#include <config.h>
+#endif
+
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
#include <libebook/e-destination.h>
diff --git a/calendar/gui/e-select-names-renderer.c b/calendar/gui/e-select-names-renderer.c
index a2e4ec68ca..3e92636b4b 100644
--- a/calendar/gui/e-select-names-renderer.c
+++ b/calendar/gui/e-select-names-renderer.c
@@ -20,7 +20,9 @@
*
*/
+#ifdef HAVE_CONFIG_H
#include <config.h>
+#endif
#include "e-util/e-util.h"
diff --git a/calendar/gui/e-task-list-selector.c b/calendar/gui/e-task-list-selector.c
index 7e12125adc..6967648b1f 100644
--- a/calendar/gui/e-task-list-selector.c
+++ b/calendar/gui/e-task-list-selector.c
@@ -18,6 +18,10 @@
* Boston, MA 02110-1301, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "e-task-list-selector.h"
#include <string.h>
diff --git a/calendar/gui/e-timezone-entry.c b/calendar/gui/e-timezone-entry.c
index e1f8edb6ac..3318e666db 100644
--- a/calendar/gui/e-timezone-entry.c
+++ b/calendar/gui/e-timezone-entry.c
@@ -28,7 +28,10 @@
* timezone.
*/
+#ifdef HAVE_CONFIG_H
#include <config.h>
+#endif
+
#include <widgets/e-timezone-dialog/e-timezone-dialog.h>
#include <glib/gi18n.h>
#include "e-timezone-entry.h"
diff --git a/calendar/gui/e-week-view-layout.c b/calendar/gui/e-week-view-layout.c
index c381ea3b8d..0b776adcfa 100644
--- a/calendar/gui/e-week-view-layout.c
+++ b/calendar/gui/e-week-view-layout.c
@@ -21,7 +21,9 @@
* Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
*/
+#ifdef HAVE_CONFIG_H
#include <config.h>
+#endif
#include "e-week-view-layout.h"
#include "calendar-config.h"
diff --git a/calendar/gui/ea-cal-view-event.c b/calendar/gui/ea-cal-view-event.c
index fd26c76ba6..bd73d59674 100644
--- a/calendar/gui/ea-cal-view-event.c
+++ b/calendar/gui/ea-cal-view-event.c
@@ -20,6 +20,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "ea-cal-view-event.h"
#include "ea-calendar-helpers.h"
#include "ea-day-view.h"
diff --git a/calendar/gui/ea-cal-view.c b/calendar/gui/ea-cal-view.c
index 15381ee772..e663a37460 100644
--- a/calendar/gui/ea-cal-view.c
+++ b/calendar/gui/ea-cal-view.c
@@ -20,6 +20,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "ea-cal-view.h"
#include "ea-calendar-helpers.h"
#include "e-day-view.h"
diff --git a/calendar/gui/ea-calendar-helpers.c b/calendar/gui/ea-calendar-helpers.c
index 38ebf75113..2ec6d93656 100644
--- a/calendar/gui/ea-calendar-helpers.c
+++ b/calendar/gui/ea-calendar-helpers.c
@@ -21,6 +21,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "ea-calendar-helpers.h"
#include "ea-cal-view-event.h"
#include "ea-jump-button.h"
diff --git a/calendar/gui/ea-calendar.c b/calendar/gui/ea-calendar.c
index 577a2230fc..dbc20fd9a6 100644
--- a/calendar/gui/ea-calendar.c
+++ b/calendar/gui/ea-calendar.c
@@ -20,6 +20,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <text/e-text.h>
#include <libgnomecanvas/libgnomecanvas.h>
#include "ea-calendar-helpers.h"
diff --git a/calendar/gui/ea-day-view-cell.c b/calendar/gui/ea-day-view-cell.c
index 6a8489f47d..bb2c32d982 100644
--- a/calendar/gui/ea-day-view-cell.c
+++ b/calendar/gui/ea-day-view-cell.c
@@ -21,6 +21,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "ea-day-view-cell.h"
#include "ea-day-view-main-item.h"
#include "ea-day-view.h"
diff --git a/calendar/gui/ea-day-view-main-item.c b/calendar/gui/ea-day-view-main-item.c
index 4d36044b5e..6ea15a4b8d 100644
--- a/calendar/gui/ea-day-view-main-item.c
+++ b/calendar/gui/ea-day-view-main-item.c
@@ -21,6 +21,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "ea-day-view-main-item.h"
#include "e-day-view-top-item.h"
#include "ea-day-view.h"
diff --git a/calendar/gui/ea-day-view.c b/calendar/gui/ea-day-view.c
index ea20475c10..1314a77121 100644
--- a/calendar/gui/ea-day-view.c
+++ b/calendar/gui/ea-day-view.c
@@ -20,6 +20,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "ea-day-view.h"
#include "ea-cal-view-event.h"
diff --git a/calendar/gui/ea-gnome-calendar.c b/calendar/gui/ea-gnome-calendar.c
index e8f7eaecb2..76a5a007e7 100644
--- a/calendar/gui/ea-gnome-calendar.c
+++ b/calendar/gui/ea-gnome-calendar.c
@@ -21,6 +21,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "ea-gnome-calendar.h"
#include "e-calendar-view.h"
#include <string.h>
diff --git a/calendar/gui/ea-jump-button.c b/calendar/gui/ea-jump-button.c
index 3b7d6e714d..7a31c09535 100644
--- a/calendar/gui/ea-jump-button.c
+++ b/calendar/gui/ea-jump-button.c
@@ -21,6 +21,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "ea-jump-button.h"
#include "ea-calendar-helpers.h"
#include "ea-week-view.h"
diff --git a/calendar/gui/ea-week-view-cell.c b/calendar/gui/ea-week-view-cell.c
index ff77e60f07..299c730142 100644
--- a/calendar/gui/ea-week-view-cell.c
+++ b/calendar/gui/ea-week-view-cell.c
@@ -22,6 +22,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "ea-week-view-cell.h"
#include "ea-week-view-main-item.h"
#include "a11y/ea-factory.h"
diff --git a/calendar/gui/ea-week-view-main-item.c b/calendar/gui/ea-week-view-main-item.c
index 2be13ee010..b0487b7031 100644
--- a/calendar/gui/ea-week-view-main-item.c
+++ b/calendar/gui/ea-week-view-main-item.c
@@ -21,6 +21,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "ea-week-view-main-item.h"
#include "ea-week-view.h"
#include "ea-week-view-cell.h"
diff --git a/calendar/gui/ea-week-view.c b/calendar/gui/ea-week-view.c
index 7f60009b32..ec9c5af3f9 100644
--- a/calendar/gui/ea-week-view.c
+++ b/calendar/gui/ea-week-view.c
@@ -20,6 +20,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "ea-week-view.h"
#include "ea-cal-view-event.h"
#include "ea-calendar-helpers.h"