aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2007-03-21 01:23:58 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2007-03-21 01:23:58 +0800
commitcba3097cad7443810117bded371a2e3088a33d12 (patch)
treeb4bf9ba6b6c9b5433c8ac2614694d7bf76d87ff0 /widgets
parent2313e47dab3e8151743138892277b08cf78034cc (diff)
downloadgsoc2013-evolution-cba3097cad7443810117bded371a2e3088a33d12.tar
gsoc2013-evolution-cba3097cad7443810117bded371a2e3088a33d12.tar.gz
gsoc2013-evolution-cba3097cad7443810117bded371a2e3088a33d12.tar.bz2
gsoc2013-evolution-cba3097cad7443810117bded371a2e3088a33d12.tar.lz
gsoc2013-evolution-cba3097cad7443810117bded371a2e3088a33d12.tar.xz
gsoc2013-evolution-cba3097cad7443810117bded371a2e3088a33d12.tar.zst
gsoc2013-evolution-cba3097cad7443810117bded371a2e3088a33d12.zip
** Fixes bug #419524
2007-03-20 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #419524 * Include <glib/gi18n.h> instead of <libgnome/gnome-i18n.h>. * e-util/e-xml-utils.c (e_xml_get_child_by_name_by_lang_list): * mail/em-migrate.c (emm_setup_initial): * shell/e-component-registry.c (query_components): * shell/e-shell-settings-dialog.c (load_pages): * shell/e-shell-window-commands.c (command_quick_reference): * tools/killev.c (main): Use g_get_language_names() instead of gnome_i18n_get_language_list(). * e-util/e-util.c: Remove e_gettext(). * e-util/Makefile.am: Remove e-i18n.h. svn path=/trunk/; revision=33319
Diffstat (limited to 'widgets')
-rw-r--r--widgets/ChangeLog8
-rw-r--r--widgets/menus/gal-define-views-dialog.c6
-rw-r--r--widgets/menus/gal-define-views-model.c2
-rw-r--r--widgets/menus/gal-view-collection.c2
-rw-r--r--widgets/menus/gal-view-factory-etable.c2
-rw-r--r--widgets/menus/gal-view-instance-save-as-dialog.c6
-rw-r--r--widgets/menus/gal-view-instance.c2
-rw-r--r--widgets/menus/gal-view-menus.c2
-rw-r--r--widgets/menus/gal-view-new-dialog.c4
-rw-r--r--widgets/misc/ChangeLog6
-rw-r--r--widgets/misc/e-activity-handler.c2
-rw-r--r--widgets/misc/e-attachment-bar.c2
-rw-r--r--widgets/misc/e-attachment.c2
-rw-r--r--widgets/misc/e-calendar-item.c2
-rw-r--r--widgets/misc/e-calendar.c2
-rw-r--r--widgets/misc/e-canvas-background.c2
-rw-r--r--widgets/misc/e-canvas-vbox.c2
-rw-r--r--widgets/misc/e-cell-date-edit.c2
-rw-r--r--widgets/misc/e-cell-percent.c2
-rw-r--r--widgets/misc/e-charset-picker.c2
-rw-r--r--widgets/misc/e-clipped-label.c2
-rw-r--r--widgets/misc/e-dateedit.c2
-rw-r--r--widgets/misc/e-filter-bar.c2
-rw-r--r--widgets/misc/e-image-chooser.c2
-rw-r--r--widgets/misc/e-map.c2
-rw-r--r--widgets/misc/e-pilot-settings.c2
-rw-r--r--widgets/misc/e-reflow.c2
-rw-r--r--widgets/misc/e-search-bar.c2
-rw-r--r--widgets/misc/e-selection-model-array.c2
-rw-r--r--widgets/misc/e-selection-model.c2
-rw-r--r--widgets/misc/e-send-options.c2
-rw-r--r--widgets/misc/e-task-widget.c2
-rw-r--r--widgets/misc/e-unicode.c2
-rw-r--r--widgets/misc/test-color.c2
-rw-r--r--widgets/table/ChangeLog6
-rw-r--r--widgets/table/e-cell-combo.c2
-rw-r--r--widgets/table/e-cell-date.c2
-rw-r--r--widgets/table/e-cell-float.c2
-rw-r--r--widgets/table/e-cell-number.c2
-rw-r--r--widgets/table/e-cell-pixbuf.c2
-rw-r--r--widgets/table/e-cell-text.c2
-rw-r--r--widgets/table/e-table-click-to-add.c2
-rw-r--r--widgets/table/e-table-col.c2
-rw-r--r--widgets/table/e-table-config-field.c2
-rw-r--r--widgets/table/e-table-config.c8
-rw-r--r--widgets/table/e-table-field-chooser-dialog.c2
-rw-r--r--widgets/table/e-table-field-chooser-item.c2
-rw-r--r--widgets/table/e-table-field-chooser.c4
-rw-r--r--widgets/table/e-table-group-container.c2
-rw-r--r--widgets/table/e-table-group-leaf.c2
-rw-r--r--widgets/table/e-table-header-item.c6
-rw-r--r--widgets/table/e-table-item.c2
-rw-r--r--widgets/table/e-table-scrolled.c2
-rw-r--r--widgets/table/e-table-selection-model.c2
-rw-r--r--widgets/table/e-table-sorter.c2
-rw-r--r--widgets/table/e-table.c2
-rw-r--r--widgets/table/e-tree-scrolled.c2
-rw-r--r--widgets/table/e-tree-selection-model.c2
-rw-r--r--widgets/table/e-tree.c2
-rw-r--r--widgets/text/e-completion-view.c4
-rw-r--r--widgets/text/e-entry-test.c2
-rw-r--r--widgets/text/e-entry.c2
-rw-r--r--widgets/text/e-text.c2
63 files changed, 91 insertions, 73 deletions
diff --git a/widgets/ChangeLog b/widgets/ChangeLog
index 5ba68eb977..391b928373 100644
--- a/widgets/ChangeLog
+++ b/widgets/ChangeLog
@@ -1,4 +1,10 @@
-2006-02-08 Matthew Barnes <mbarnes@redhat.com>
+2007-03-20 Matthew Barnes <mbarnes@redhat.com>
+
+ ** Fixes part of bug #419524
+
+ * Include <glib/gi18n.h> instead of <libgnome/gnome-i18n.h>.
+
+2007-02-08 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #357216
diff --git a/widgets/menus/gal-define-views-dialog.c b/widgets/menus/gal-define-views-dialog.c
index cff8e77750..104e706b6d 100644
--- a/widgets/menus/gal-define-views-dialog.c
+++ b/widgets/menus/gal-define-views-dialog.c
@@ -26,7 +26,7 @@
#include <gtk/gtk.h>
#include "table/e-table-scrolled.h"
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "e-util/e-util.h"
#include "e-util/e-util-private.h"
@@ -80,7 +80,7 @@ gal_define_views_dialog_class_init (GalDefineViewsDialogClass *klass)
}
/* ETable creation */
-#define SPEC "<ETableSpecification cursor-mode=\"line\" draw-grid=\"true\" selection-mode=\"single\" gettext-domain=\"" E_I18N_DOMAIN "\">" \
+#define SPEC "<ETableSpecification cursor-mode=\"line\" draw-grid=\"true\" selection-mode=\"single\" gettext-domain=\"" GETTEXT_PACKAGE "\">" \
"<ETableColumn model_col= \"0\" _title=\"Name\" expansion=\"1.0\" minimum_width=\"18\" resizable=\"true\" cell=\"string\" compare=\"string\"/>" \
"<ETableState> <column source=\"0\"/> <grouping> </grouping> </ETableState>" \
"</ETableSpecification>"
@@ -250,7 +250,7 @@ gal_define_views_dialog_init (GalDefineViewsDialog *dialog)
dialog->collection = NULL;
- gui = glade_xml_new (filename, NULL, E_I18N_DOMAIN);
+ gui = glade_xml_new (filename, NULL, GETTEXT_PACKAGE);
g_free (filename);
dialog->gui = gui;
diff --git a/widgets/menus/gal-define-views-model.c b/widgets/menus/gal-define-views-model.c
index f526419398..b38dbbc4b2 100644
--- a/widgets/menus/gal-define-views-model.c
+++ b/widgets/menus/gal-define-views-model.c
@@ -27,7 +27,7 @@
#include <libxml/parser.h>
#include <libxml/xmlmemory.h>
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "e-util/e-util.h"
#include "gal-define-views-model.h"
diff --git a/widgets/menus/gal-view-collection.c b/widgets/menus/gal-view-collection.c
index 4cb1d569b7..848b789235 100644
--- a/widgets/menus/gal-view-collection.c
+++ b/widgets/menus/gal-view-collection.c
@@ -32,7 +32,7 @@
#include <libgnome/gnome-util.h>
#include <libedataserver/e-xml-utils.h>
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "e-util/e-util.h"
#include "e-util/e-xml-utils.h"
#include "misc/e-unicode.h"
diff --git a/widgets/menus/gal-view-factory-etable.c b/widgets/menus/gal-view-factory-etable.c
index bdeb1e1e71..309cf2d5cb 100644
--- a/widgets/menus/gal-view-factory-etable.c
+++ b/widgets/menus/gal-view-factory-etable.c
@@ -23,7 +23,7 @@
#include <config.h>
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "e-util/e-util.h"
#include "gal-view-etable.h"
diff --git a/widgets/menus/gal-view-instance-save-as-dialog.c b/widgets/menus/gal-view-instance-save-as-dialog.c
index eb01386418..663097567f 100644
--- a/widgets/menus/gal-view-instance-save-as-dialog.c
+++ b/widgets/menus/gal-view-instance-save-as-dialog.c
@@ -26,7 +26,7 @@
#include <gtk/gtk.h>
#include "table/e-table-scrolled.h"
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "e-util/e-util-private.h"
#include "gal-define-views-model.h"
@@ -197,7 +197,7 @@ gal_view_instance_save_as_dialog_init (GalViewInstanceSaveAsDialog *dialog)
dialog->instance = NULL;
- gui = glade_xml_new_with_domain (filename , NULL, E_I18N_DOMAIN);
+ gui = glade_xml_new_with_domain (filename , NULL, GETTEXT_PACKAGE);
g_free (filename);
dialog->gui = gui;
@@ -235,7 +235,7 @@ gal_view_instance_save_as_dialog_init (GalViewInstanceSaveAsDialog *dialog)
/* For use from libglade. */
/* ETable creation */
-#define SPEC "<ETableSpecification no-headers=\"true\" cursor-mode=\"line\" draw-grid=\"false\" selection-mode=\"single\" gettext-domain=\"" E_I18N_DOMAIN "\">" \
+#define SPEC "<ETableSpecification no-headers=\"true\" cursor-mode=\"line\" draw-grid=\"false\" selection-mode=\"single\" gettext-domain=\"" GETTEXT_PACKAGE "\">" \
"<ETableColumn model_col= \"0\" _title=\"Name\" expansion=\"1.0\" minimum_width=\"18\" resizable=\"true\" cell=\"string\" compare=\"string\"/>" \
"<ETableState> <column source=\"0\"/> <grouping> </grouping> </ETableState>" \
"</ETableSpecification>"
diff --git a/widgets/menus/gal-view-instance.c b/widgets/menus/gal-view-instance.c
index bc92c30169..df84a38948 100644
--- a/widgets/menus/gal-view-instance.c
+++ b/widgets/menus/gal-view-instance.c
@@ -36,7 +36,7 @@
#include <libedataserver/e-xml-utils.h>
#include <libedataserver/e-data-server-util.h>
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "e-util/e-util.h"
#include "e-util/e-xml-utils.h"
#include "misc/e-unicode.h"
diff --git a/widgets/menus/gal-view-menus.c b/widgets/menus/gal-view-menus.c
index c440cb6c27..e6e7a93420 100644
--- a/widgets/menus/gal-view-menus.c
+++ b/widgets/menus/gal-view-menus.c
@@ -20,7 +20,7 @@
#include <libxml/parser.h>
#include <libxml/xmlmemory.h>
#include <libgnomeui/gnome-dialog.h>
-#include <libgnome/gnome-i18n.h>
+#include <glib/gi18n.h>
#include <bonobo/bonobo-ui-util.h>
#include <e-util/e-util.h>
#include <e-util/e-xml-utils.h>
diff --git a/widgets/menus/gal-view-new-dialog.c b/widgets/menus/gal-view-new-dialog.c
index dee0f78dca..a256baccdb 100644
--- a/widgets/menus/gal-view-new-dialog.c
+++ b/widgets/menus/gal-view-new-dialog.c
@@ -26,7 +26,7 @@
#include <gtk/gtk.h>
#include "table/e-table-scrolled.h"
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "e-util/e-util.h"
#include "e-util/e-util-private.h"
#include "misc/e-unicode.h"
@@ -92,7 +92,7 @@ gal_view_new_dialog_init (GalViewNewDialog *dialog)
"gal-view-new-dialog.glade",
NULL);
- gui = glade_xml_new (filename, NULL, E_I18N_DOMAIN);
+ gui = glade_xml_new (filename, NULL, GETTEXT_PACKAGE);
g_free (filename);
dialog->gui = gui;
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index 22199488a9..b63c41fac9 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -1,3 +1,9 @@
+2007-03-20 Matthew Barnes <mbarnes@redhat.com>
+
+ ** Fixes part of bug #419524
+
+ * Include <glib/gi18n.h> instead of <libgnome/gnome-i18n.h>.
+
2007-03-16 Matthew Barnes <mbarnes@redhat.com>
** Fixes part of bug #360240
diff --git a/widgets/misc/e-activity-handler.c b/widgets/misc/e-activity-handler.c
index 8274df5556..1e4f70eb19 100644
--- a/widgets/misc/e-activity-handler.c
+++ b/widgets/misc/e-activity-handler.c
@@ -29,7 +29,7 @@
#include <gtk/gtksignal.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
-#include <libgnome/gnome-i18n.h>
+#include <glib/gi18n.h>
#include <libgnomeui/gnome-popup-menu.h>
#include <misc/e-popup-menu.h>
diff --git a/widgets/misc/e-attachment-bar.c b/widgets/misc/e-attachment-bar.c
index d39cdf6051..dbb0e7dee2 100644
--- a/widgets/misc/e-attachment-bar.c
+++ b/widgets/misc/e-attachment-bar.c
@@ -33,7 +33,7 @@
#include <gconf/gconf-client.h>
#include <gdk/gdkkeysyms.h>
#include <libgnomevfs/gnome-vfs-mime-handlers.h>
-#include <libgnome/gnome-i18n.h>
+#include <glib/gi18n.h>
#include <libgnome/libgnome.h>
#include "e-attachment.h"
diff --git a/widgets/misc/e-attachment.c b/widgets/misc/e-attachment.c
index b865ce173a..705b5bb2c8 100644
--- a/widgets/misc/e-attachment.c
+++ b/widgets/misc/e-attachment.c
@@ -51,7 +51,7 @@
#include <gtk/gtktogglebutton.h>
#include <gtk/gtkdialog.h>
#include <libgnomevfs/gnome-vfs-mime.h>
-#include <libgnome/gnome-i18n.h>
+#include <glib/gi18n.h>
#include <glib/gstdio.h>
#include "e-util/e-mktemp.h"
diff --git a/widgets/misc/e-calendar-item.c b/widgets/misc/e-calendar-item.c
index 0dca636875..b46e80ddbb 100644
--- a/widgets/misc/e-calendar-item.c
+++ b/widgets/misc/e-calendar-item.c
@@ -43,7 +43,7 @@
#include <gtk/gtklabel.h>
#include <gtk/gtksignal.h>
#include <gdk/gdkkeysyms.h>
-#include <libgnome/gnome-i18n.h>
+#include <glib/gi18n.h>
#include <libedataserver/e-data-server-util.h>
#include <e-util/e-util.h>
diff --git a/widgets/misc/e-calendar.c b/widgets/misc/e-calendar.c
index 035dac8a36..7933998445 100644
--- a/widgets/misc/e-calendar.c
+++ b/widgets/misc/e-calendar.c
@@ -43,7 +43,7 @@
#include <gtk/gtkpixmap.h>
#include <gtk/gtksignal.h>
#include <libgnomecanvas/gnome-canvas-widget.h>
-#include <libgnome/gnome-i18n.h>
+#include <glib/gi18n.h>
#define E_CALENDAR_SMALL_FONT_PTSIZE 6
diff --git a/widgets/misc/e-canvas-background.c b/widgets/misc/e-canvas-background.c
index 58bda2436d..02f8f1675c 100644
--- a/widgets/misc/e-canvas-background.c
+++ b/widgets/misc/e-canvas-background.c
@@ -30,7 +30,7 @@
#include <gdk/gdkkeysyms.h>
#include <gtk/gtk.h>
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "e-util/e-util.h"
#include "misc/e-canvas.h"
#include "misc/e-canvas-utils.h"
diff --git a/widgets/misc/e-canvas-vbox.c b/widgets/misc/e-canvas-vbox.c
index 8ec99ca0af..20562bc039 100644
--- a/widgets/misc/e-canvas-vbox.c
+++ b/widgets/misc/e-canvas-vbox.c
@@ -28,7 +28,7 @@
#include <gdk/gdkkeysyms.h>
#include <gtk/gtk.h>
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "e-util/e-util.h"
#include "e-canvas.h"
diff --git a/widgets/misc/e-cell-date-edit.c b/widgets/misc/e-cell-date-edit.c
index 8eed38e7f1..f8a4f134a2 100644
--- a/widgets/misc/e-cell-date-edit.c
+++ b/widgets/misc/e-cell-date-edit.c
@@ -44,7 +44,7 @@
#include <table/e-cell-text.h>
#include <libgnomeui/gnome-messagebox.h>
-#include <libgnome/gnome-i18n.h>
+#include <glib/gi18n.h>
#include <libedataserver/e-time-utils.h>
diff --git a/widgets/misc/e-cell-percent.c b/widgets/misc/e-cell-percent.c
index 161e476345..76b4ffc06f 100644
--- a/widgets/misc/e-cell-percent.c
+++ b/widgets/misc/e-cell-percent.c
@@ -36,7 +36,7 @@
#include <unistd.h>
#include <stdio.h>
#include <libgnomeui/gnome-messagebox.h>
-#include <libgnome/gnome-i18n.h>
+#include <glib/gi18n.h>
#include "e-cell-percent.h"
diff --git a/widgets/misc/e-charset-picker.c b/widgets/misc/e-charset-picker.c
index f0080d22d5..faaec7225a 100644
--- a/widgets/misc/e-charset-picker.c
+++ b/widgets/misc/e-charset-picker.c
@@ -37,7 +37,7 @@
#include <gtk/gtkoptionmenu.h>
#include <gtk/gtksignal.h>
-#include <libgnome/gnome-i18n.h>
+#include <glib/gi18n.h>
#include <bonobo/bonobo-ui-node.h>
#include <bonobo/bonobo-ui-util.h>
diff --git a/widgets/misc/e-clipped-label.c b/widgets/misc/e-clipped-label.c
index b02561c0b7..98e3ecf62e 100644
--- a/widgets/misc/e-clipped-label.c
+++ b/widgets/misc/e-clipped-label.c
@@ -40,7 +40,7 @@
#include <glib.h>
#include <gdk/gdki18n.h>
-#include <libgnome/gnome-i18n.h>
+#include <glib/gi18n.h>
static void e_clipped_label_class_init (EClippedLabelClass *class);
diff --git a/widgets/misc/e-dateedit.c b/widgets/misc/e-dateedit.c
index 5680fc44a9..6061b09f6d 100644
--- a/widgets/misc/e-dateedit.c
+++ b/widgets/misc/e-dateedit.c
@@ -58,7 +58,7 @@
#include <gtk/gtkmessagedialog.h>
#include <atk/atkrelation.h>
#include <atk/atkrelationset.h>
-#include <libgnome/gnome-i18n.h>
+#include <glib/gi18n.h>
#include <libedataserver/e-time-utils.h>
#include <libedataserver/e-data-server-util.h>
#include <e-util/e-util.h>
diff --git a/widgets/misc/e-filter-bar.c b/widgets/misc/e-filter-bar.c
index 49abd260e2..1e15a8b539 100644
--- a/widgets/misc/e-filter-bar.c
+++ b/widgets/misc/e-filter-bar.c
@@ -32,7 +32,7 @@
#include <libxml/tree.h>
#include <libxml/parser.h>
-#include <libgnome/gnome-i18n.h>
+#include <glib/gi18n.h>
#include "e-dropdown-button.h"
#include "e-filter-bar.h"
diff --git a/widgets/misc/e-image-chooser.c b/widgets/misc/e-image-chooser.c
index cc89ce48d3..7fdb2cb415 100644
--- a/widgets/misc/e-image-chooser.c
+++ b/widgets/misc/e-image-chooser.c
@@ -30,7 +30,7 @@
#include <gtk/gtkdnd.h>
#include <libgnomevfs/gnome-vfs-ops.h>
-#include <libgnome/gnome-i18n.h>
+#include <glib/gi18n.h>
#include "e-image-chooser.h"
#include "e-util/e-util-marshal.h"
diff --git a/widgets/misc/e-map.c b/widgets/misc/e-map.c
index 8acbdf5fe6..74359a26ac 100644
--- a/widgets/misc/e-map.c
+++ b/widgets/misc/e-map.c
@@ -27,7 +27,7 @@
#include <gtk/gtksignal.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <libart_lgpl/art_filterlevel.h>
-#include <libgnome/gnome-i18n.h>
+#include <glib/gi18n.h>
#include "e-util/e-util-private.h"
#include "e-util/e-util.h"
diff --git a/widgets/misc/e-pilot-settings.c b/widgets/misc/e-pilot-settings.c
index 1530e972ae..5c0ec29579 100644
--- a/widgets/misc/e-pilot-settings.c
+++ b/widgets/misc/e-pilot-settings.c
@@ -26,7 +26,7 @@
#endif
#include <gtk/gtk.h>
-#include <libgnome/gnome-i18n.h>
+#include <glib/gi18n.h>
#include <libedataserverui/e-source-option-menu.h>
#include "e-pilot-settings.h"
diff --git a/widgets/misc/e-reflow.c b/widgets/misc/e-reflow.c
index 0615effe6d..594ea1f87b 100644
--- a/widgets/misc/e-reflow.c
+++ b/widgets/misc/e-reflow.c
@@ -30,7 +30,7 @@
#include <gtk/gtk.h>
#include "text/e-text.h"
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "e-util/e-util-marshal.h"
#include "e-util/e-util.h"
#include "misc/e-unicode.h"
diff --git a/widgets/misc/e-search-bar.c b/widgets/misc/e-search-bar.c
index 889f068eeb..6b20492e43 100644
--- a/widgets/misc/e-search-bar.c
+++ b/widgets/misc/e-search-bar.c
@@ -42,7 +42,7 @@
#include <misc/e-unicode.h>
#include <misc/e-gui-utils.h>
-#include <libgnome/gnome-i18n.h>
+#include <glib/gi18n.h>
#include <bonobo/bonobo-ui-util.h>
diff --git a/widgets/misc/e-selection-model-array.c b/widgets/misc/e-selection-model-array.c
index 834f473722..3f91ba42cc 100644
--- a/widgets/misc/e-selection-model-array.c
+++ b/widgets/misc/e-selection-model-array.c
@@ -25,7 +25,7 @@
#include <gtk/gtk.h>
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "e-util/e-util.h"
#include "e-selection-model-array.h"
diff --git a/widgets/misc/e-selection-model.c b/widgets/misc/e-selection-model.c
index 09430de9f5..21eba118f2 100644
--- a/widgets/misc/e-selection-model.c
+++ b/widgets/misc/e-selection-model.c
@@ -25,7 +25,7 @@
#include <gdk/gdkkeysyms.h>
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "e-util/e-util-marshal.h"
#include "e-util/e-util.h"
diff --git a/widgets/misc/e-send-options.c b/widgets/misc/e-send-options.c
index 644d054905..f0c6fe42a1 100644
--- a/widgets/misc/e-send-options.c
+++ b/widgets/misc/e-send-options.c
@@ -28,7 +28,7 @@
#include <gtk/gtktogglebutton.h>
#include <gtk/gtk.h>
#include <libgnome/libgnome.h>
-#include <libgnome/gnome-i18n.h>
+#include <glib/gi18n.h>
#include <glade/glade.h>
#include <time.h>
diff --git a/widgets/misc/e-task-widget.c b/widgets/misc/e-task-widget.c
index 46e69342e6..2f591ab49f 100644
--- a/widgets/misc/e-task-widget.c
+++ b/widgets/misc/e-task-widget.c
@@ -32,7 +32,7 @@
#include <gtk/gtkimage.h>
#include <gtk/gtktooltips.h>
-#include <libgnome/gnome-i18n.h>
+#include <glib/gi18n.h>
#define SPACING 2
diff --git a/widgets/misc/e-unicode.c b/widgets/misc/e-unicode.c
index 7ffe7e44f9..6bf1fdaaec 100644
--- a/widgets/misc/e-unicode.c
+++ b/widgets/misc/e-unicode.c
@@ -42,7 +42,7 @@
#include <libedataserver/e-iconv.h>
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "e-unicode.h"
#define d(x) x
diff --git a/widgets/misc/test-color.c b/widgets/misc/test-color.c
index 492cb65c3c..25aeda0f2c 100644
--- a/widgets/misc/test-color.c
+++ b/widgets/misc/test-color.c
@@ -24,7 +24,7 @@
#include <gnome.h>
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "color-palette.h"
#include "e-colors.h"
diff --git a/widgets/table/ChangeLog b/widgets/table/ChangeLog
index f0c226a1dc..ee35f6e2e7 100644
--- a/widgets/table/ChangeLog
+++ b/widgets/table/ChangeLog
@@ -1,3 +1,9 @@
+2007-03-20 Matthew Barnes <mbarnes@redhat.com>
+
+ ** Fixes part of bug #419524
+
+ * Include <glib/gi18n.h> instead of <libgnome/gnome-i18n.h>.
+
2007-03-16 Matthew Barnes <mbarnes@redhat.com>
** Fixes part of bug #360240
diff --git a/widgets/table/e-cell-combo.c b/widgets/table/e-cell-combo.c
index 013574475c..629a3588ed 100644
--- a/widgets/table/e-cell-combo.c
+++ b/widgets/table/e-cell-combo.c
@@ -59,7 +59,7 @@
#include <gdk/gdkkeysyms.h>
#include <gtk/gtk.h>
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "e-util/e-util.h"
#include "misc/e-unicode.h"
diff --git a/widgets/table/e-cell-date.c b/widgets/table/e-cell-date.c
index 138868db12..d2319ee61e 100644
--- a/widgets/table/e-cell-date.c
+++ b/widgets/table/e-cell-date.c
@@ -27,7 +27,7 @@
#include <unistd.h>
#include <string.h>
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "e-util/e-util.h"
#include "misc/e-unicode.h"
diff --git a/widgets/table/e-cell-float.c b/widgets/table/e-cell-float.c
index ce7f5e0630..2ab6111a33 100644
--- a/widgets/table/e-cell-float.c
+++ b/widgets/table/e-cell-float.c
@@ -29,7 +29,7 @@
#include <sys/time.h>
#include <unistd.h>
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "e-util/e-util.h"
#include "e-cell-float.h"
diff --git a/widgets/table/e-cell-number.c b/widgets/table/e-cell-number.c
index b2ab40590d..e32eca7fe3 100644
--- a/widgets/table/e-cell-number.c
+++ b/widgets/table/e-cell-number.c
@@ -25,7 +25,7 @@
#include <sys/time.h>
#include <unistd.h>
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "e-util/e-util.h"
#include "e-cell-number.h"
diff --git a/widgets/table/e-cell-pixbuf.c b/widgets/table/e-cell-pixbuf.c
index 1d9967d23b..22d92bf98a 100644
--- a/widgets/table/e-cell-pixbuf.c
+++ b/widgets/table/e-cell-pixbuf.c
@@ -27,7 +27,7 @@
#include <libgnomecanvas/gnome-canvas.h>
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include <gtk/gtk.h>
#include "e-cell-pixbuf.h"
diff --git a/widgets/table/e-cell-text.c b/widgets/table/e-cell-text.c
index ca28e1fbca..25a00085f8 100644
--- a/widgets/table/e-cell-text.c
+++ b/widgets/table/e-cell-text.c
@@ -50,7 +50,7 @@
#include "a11y/e-table/gal-a11y-e-cell-registry.h"
#include "a11y/e-table/gal-a11y-e-cell-text.h"
#include "text/e-text.h"
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "e-util/e-text-event-processor.h"
#include "e-util/e-text-event-processor-emacs-like.h"
#include "e-util/e-util.h"
diff --git a/widgets/table/e-table-click-to-add.c b/widgets/table/e-table-click-to-add.c
index a338df9cc5..b58d027978 100644
--- a/widgets/table/e-table-click-to-add.c
+++ b/widgets/table/e-table-click-to-add.c
@@ -32,7 +32,7 @@
#include "a11y/e-table/gal-a11y-e-table-click-to-add.h"
#include "text/e-text.h"
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "e-util/e-util-marshal.h"
#include "e-util/e-util.h"
#include "misc/e-canvas-utils.h"
diff --git a/widgets/table/e-table-col.c b/widgets/table/e-table-col.c
index 4983f70f15..b61d5b44cf 100644
--- a/widgets/table/e-table-col.c
+++ b/widgets/table/e-table-col.c
@@ -23,7 +23,7 @@
#include <config.h>
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "e-util/e-util.h"
#include "e-table-col.h"
diff --git a/widgets/table/e-table-config-field.c b/widgets/table/e-table-config-field.c
index af83f40c6a..d49cf08b53 100644
--- a/widgets/table/e-table-config-field.c
+++ b/widgets/table/e-table-config-field.c
@@ -27,7 +27,7 @@
#include <gtk/gtk.h>
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "e-util/e-util.h"
#include "e-table-config-field.h"
diff --git a/widgets/table/e-table-config.c b/widgets/table/e-table-config.c
index d7553e8804..f32f09cd21 100644
--- a/widgets/table/e-table-config.c
+++ b/widgets/table/e-table-config.c
@@ -36,7 +36,7 @@
#include <libgnomeui/gnome-propertybox.h>
#include <glade/glade.h>
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "e-util/e-util-private.h"
#include "e-util/e-util.h"
#include "misc/e-unicode.h"
@@ -539,7 +539,7 @@ create_global_store (ETableConfig *config)
}
}
-char *spec = "<ETableSpecification gettext-domain=\"" E_I18N_DOMAIN "\" no-headers=\"true\" cursor-mode=\"line\" "
+char *spec = "<ETableSpecification gettext-domain=\"" GETTEXT_PACKAGE "\" no-headers=\"true\" cursor-mode=\"line\" "
" draw-grid=\"false\" draw-focus=\"true\" selection-mode=\"browse\">"
"<ETableColumn model_col= \"0\" _title=\"Name\" minimum_width=\"30\" resizable=\"true\" cell=\"string\" compare=\"string\"/>"
"<ETableState> <column source=\"0\"/>"
@@ -1093,14 +1093,14 @@ setup_gui (ETableConfig *config)
g_build_filename (EVOLUTION_GLADEDIR,
"e-table-config.glade",
NULL);
- gui = glade_xml_new (filename, NULL, E_I18N_DOMAIN);
+ gui = glade_xml_new (filename, NULL, GETTEXT_PACKAGE);
g_free (filename);
} else {
gchar *filename =
g_build_filename (EVOLUTION_GLADEDIR,
"e-table-config-no-group.glade",
NULL);
- gui = glade_xml_new (filename, NULL, E_I18N_DOMAIN);
+ gui = glade_xml_new (filename, NULL, GETTEXT_PACKAGE);
g_free (filename);
}
diff --git a/widgets/table/e-table-field-chooser-dialog.c b/widgets/table/e-table-field-chooser-dialog.c
index 9845dd7fbc..db02b7eb83 100644
--- a/widgets/table/e-table-field-chooser-dialog.c
+++ b/widgets/table/e-table-field-chooser-dialog.c
@@ -25,7 +25,7 @@
#include <gtk/gtk.h>
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "e-util/e-util.h"
#include "e-table-field-chooser-dialog.h"
diff --git a/widgets/table/e-table-field-chooser-item.c b/widgets/table/e-table-field-chooser-item.c
index 6742483fd6..3a94645550 100644
--- a/widgets/table/e-table-field-chooser-item.c
+++ b/widgets/table/e-table-field-chooser-item.c
@@ -32,7 +32,7 @@
#include <libgnomecanvas/gnome-canvas-rect-ellipse.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "e-util/e-util.h"
#include "e-util/e-xml-utils.h"
#include "misc/e-canvas.h"
diff --git a/widgets/table/e-table-field-chooser.c b/widgets/table/e-table-field-chooser.c
index 786e0420b7..294d90e212 100644
--- a/widgets/table/e-table-field-chooser.c
+++ b/widgets/table/e-table-field-chooser.c
@@ -26,7 +26,7 @@
#include <gtk/gtk.h>
#include <libgnomecanvas/gnome-canvas-rect-ellipse.h>
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "e-util/e-util.h"
#include "e-util/e-util-private.h"
@@ -156,7 +156,7 @@ e_table_field_chooser_init (ETableFieldChooser *etfc)
gchar *filename = g_build_filename (EVOLUTION_GLADEDIR,
"e-table-field-chooser.glade",
NULL);
- gui = glade_xml_new (filename, NULL, E_I18N_DOMAIN);
+ gui = glade_xml_new (filename, NULL, GETTEXT_PACKAGE);
g_free (filename);
etfc->gui = gui;
diff --git a/widgets/table/e-table-group-container.c b/widgets/table/e-table-group-container.c
index b67b76e217..3a21171d1c 100644
--- a/widgets/table/e-table-group-container.c
+++ b/widgets/table/e-table-group-container.c
@@ -29,7 +29,7 @@
#include <libgnomecanvas/gnome-canvas-rect-ellipse.h>
#include "text/e-text.h"
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "e-util/e-util.h"
#include "misc/e-canvas-utils.h"
#include "misc/e-canvas.h"
diff --git a/widgets/table/e-table-group-leaf.c b/widgets/table/e-table-group-leaf.c
index 315ae0302a..9acf976021 100644
--- a/widgets/table/e-table-group-leaf.c
+++ b/widgets/table/e-table-group-leaf.c
@@ -26,7 +26,7 @@
#include <gtk/gtk.h>
#include <libgnomecanvas/gnome-canvas-rect-ellipse.h>
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "e-util/e-util.h"
#include "misc/e-canvas.h"
diff --git a/widgets/table/e-table-header-item.c b/widgets/table/e-table-header-item.c
index a11338d6c7..15890b17b7 100644
--- a/widgets/table/e-table-header-item.c
+++ b/widgets/table/e-table-header-item.c
@@ -35,7 +35,7 @@
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <gdk/gdkkeysyms.h>
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "e-util/e-util-marshal.h"
#include "e-util/e-util.h"
#include "e-util/e-xml-utils.h"
@@ -1531,7 +1531,7 @@ ethi_header_context_menu (ETableHeaderItem *ethi, GdkEventButton *event)
((ethi->table || ethi->tree) ? 0 : 4) +
((e_table_header_count (ethi->eth) > 1) ? 0 : 8),
((e_table_sort_info_get_can_group (ethi->sort_info)) ? 0 : 16) +
- 128, info, E_I18N_DOMAIN);
+ 128, info, GETTEXT_PACKAGE);
menu_item = gtk_menu_item_new_with_label (_("Sort By"));
gtk_widget_show (menu_item);
@@ -1813,7 +1813,7 @@ ethi_event (GnomeCanvasItem *item, GdkEvent *e)
((ethi->table || ethi->tree) ? 0 : 4) +
((e_table_header_count (ethi->eth) > 1) ? 0 : 8),
((e_table_sort_info_get_can_group (ethi->sort_info)) ? 0 : 16) +
- 128, info, E_I18N_DOMAIN);
+ 128, info, GETTEXT_PACKAGE);
g_object_ref (popup);
gtk_object_sink (GTK_OBJECT (popup));
g_signal_connect (popup, "selection-done",
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c
index 0936c03f31..221abb2044 100644
--- a/widgets/table/e-table-item.c
+++ b/widgets/table/e-table-item.c
@@ -38,7 +38,7 @@
#include "a11y/e-table/gal-a11y-e-table-item-factory.h"
#include "a11y/e-table/gal-a11y-e-table-item.h"
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "e-util/e-util.h"
#include "misc/e-canvas.h"
#include "misc/e-canvas-utils.h"
diff --git a/widgets/table/e-table-scrolled.c b/widgets/table/e-table-scrolled.c
index fc31f0eef6..3d581cd8c2 100644
--- a/widgets/table/e-table-scrolled.c
+++ b/widgets/table/e-table-scrolled.c
@@ -32,7 +32,7 @@
#include <libxml/parser.h>
#include <libxml/xmlmemory.h>
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "e-table.h"
#include "e-table-scrolled.h"
diff --git a/widgets/table/e-table-selection-model.c b/widgets/table/e-table-selection-model.c
index bdce7741c3..a16285c392 100644
--- a/widgets/table/e-table-selection-model.c
+++ b/widgets/table/e-table-selection-model.c
@@ -27,7 +27,7 @@
#include <gdk/gdkkeysyms.h>
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "e-util/e-util.h"
#include "e-table-selection-model.h"
diff --git a/widgets/table/e-table-sorter.c b/widgets/table/e-table-sorter.c
index 0e74b6b2cf..3874f29bb1 100644
--- a/widgets/table/e-table-sorter.c
+++ b/widgets/table/e-table-sorter.c
@@ -26,7 +26,7 @@
#include <stdlib.h>
#include <string.h>
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "e-util/e-util.h"
#include "e-table-sorter.h"
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c
index 2a3f37570f..b42d860779 100644
--- a/widgets/table/e-table.c
+++ b/widgets/table/e-table.c
@@ -36,7 +36,7 @@
#include <libgnomecanvas/gnome-canvas-rect-ellipse.h>
#include "a11y/e-table/gal-a11y-e-table.h"
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "e-util/e-util.h"
#include "misc/e-canvas.h"
#include "misc/e-canvas-background.h"
diff --git a/widgets/table/e-tree-scrolled.c b/widgets/table/e-tree-scrolled.c
index 953009ea1e..1f1145065f 100644
--- a/widgets/table/e-tree-scrolled.c
+++ b/widgets/table/e-tree-scrolled.c
@@ -32,7 +32,7 @@
#include <libxml/parser.h>
#include <libxml/xmlmemory.h>
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "e-util/e-util.h"
#include "e-tree-scrolled.h"
diff --git a/widgets/table/e-tree-selection-model.c b/widgets/table/e-tree-selection-model.c
index 1a9cac548a..6e69615aeb 100644
--- a/widgets/table/e-tree-selection-model.c
+++ b/widgets/table/e-tree-selection-model.c
@@ -25,7 +25,7 @@
#include <config.h>
#include "table/e-tree-table-adapter.h"
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "e-util/e-util.h"
#include "e-tree-selection-model.h"
diff --git a/widgets/table/e-tree.c b/widgets/table/e-tree.c
index c3be4f0c24..f6679e59b3 100644
--- a/widgets/table/e-tree.c
+++ b/widgets/table/e-tree.c
@@ -32,7 +32,7 @@
#include <libgnomecanvas/gnome-canvas-rect-ellipse.h>
#include "a11y/e-table/gal-a11y-e-tree.h"
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "e-util/e-util.h"
#include "e-util/e-util-marshal.h"
#include "misc/e-canvas.h"
diff --git a/widgets/text/e-completion-view.c b/widgets/text/e-completion-view.c
index e7606fc805..57d02bb865 100644
--- a/widgets/text/e-completion-view.c
+++ b/widgets/text/e-completion-view.c
@@ -30,7 +30,7 @@
#include "table/e-table-scrolled.h"
#include "table/e-table-simple.h"
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "e-util/e-util-marshal.h"
#include "e-completion-view.h"
@@ -623,7 +623,7 @@ end_completion_cb (ECompletion *completion, gpointer user_data)
/* XXX toshok - we need to add sorting to this etable, through the use
of undisplayed fields of all the sort keys we want to use */
static char *simple_spec =
-"<ETableSpecification no-headers=\"true\" draw-grid=\"false\" cursor-mode=\"line\" alternating-row-colors=\"false\" gettext-domain=\"" E_I18N_DOMAIN "\">"
+"<ETableSpecification no-headers=\"true\" draw-grid=\"false\" cursor-mode=\"line\" alternating-row-colors=\"false\" gettext-domain=\"" GETTEXT_PACKAGE "\">"
" <ETableColumn model_col=\"0\" _title=\"Node\" expansion=\"1.0\" "
" minimum_width=\"16\" resizable=\"true\" cell=\"string\" "
" compare=\"string\"/> "
diff --git a/widgets/text/e-entry-test.c b/widgets/text/e-entry-test.c
index 42a24bd567..efb8d47f40 100644
--- a/widgets/text/e-entry-test.c
+++ b/widgets/text/e-entry-test.c
@@ -25,7 +25,7 @@
#include <gnome.h>
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "e-util/e-util-private.h"
#include "e-entry.h"
diff --git a/widgets/text/e-entry.c b/widgets/text/e-entry.c
index f0653a39b6..d5f7cb4fe9 100644
--- a/widgets/text/e-entry.c
+++ b/widgets/text/e-entry.c
@@ -36,7 +36,7 @@
#include <libxml/parser.h>
#include <libgnomecanvas/gnome-canvas.h>
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "e-util/e-util.h"
#include "misc/e-canvas.h"
#include "misc/e-canvas-utils.h"
diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c
index a1ad01e7c1..0ae2d2203d 100644
--- a/widgets/text/e-text.c
+++ b/widgets/text/e-text.c
@@ -52,7 +52,7 @@
#include "misc/e-canvas.h"
#include "misc/e-canvas-utils.h"
#include "misc/e-unicode.h"
-#include "e-util/e-i18n.h"
+#include <glib/gi18n.h>
#include "e-util/e-text-event-processor-emacs-like.h"
#include "e-util/e-util.h"