From 9fc545eb953a65888f3ae78703e1500d8ad9f1be Mon Sep 17 00:00:00 2001 From: Gediminas Paulauskas Date: Mon, 2 Apr 2001 01:18:22 +0000 Subject: No one responds on IRC, explained everything in bugzilla and these changelogs. 2001-04-01 Gediminas Paulauskas * gal-define-views-dialog.c, gal-view-new-dialog.c: replaced glade_xml_new with glade_xml_new_with_domain. fixes #2030 2001-04-01 Gediminas Paulauskas * e-table-config.c, e-table-field-chooser.c: replaced glade_xml_new with glade_xml_new_with_domain. 2001-04-01 Gediminas Paulauskas * gal/widgets/e-categories.c: replaced glade_xml_new with glade_xml_new_with_domain. * gal/widgets/e-popup-menu.c: call gettext on every menu item. Works only on popup menus of gal, not evolution (different domain). wrapped every category name in N_() and call _() where appriopriate, fixes #2029, but #2013 appears. svn path=/trunk/; revision=9091 --- widgets/menus/gal-define-views-dialog.c | 5 +++-- widgets/menus/gal-view-new-dialog.c | 5 +++-- widgets/table/e-table-config.c | 4 ++-- widgets/table/e-table-field-chooser.c | 4 ++-- 4 files changed, 10 insertions(+), 8 deletions(-) (limited to 'widgets') diff --git a/widgets/menus/gal-define-views-dialog.c b/widgets/menus/gal-define-views-dialog.c index 427eaa7d76..8ca28adfac 100644 --- a/widgets/menus/gal-define-views-dialog.c +++ b/widgets/menus/gal-define-views-dialog.c @@ -20,7 +20,8 @@ */ #include -#include +#include +#include #include "gal-define-views-dialog.h" #include "gal-define-views-model.h" #include "gal-view-new-dialog.h" @@ -218,7 +219,7 @@ gal_define_views_dialog_init (GalDefineViewsDialog *dialog) dialog->collection = NULL; - gui = glade_xml_new (GAL_GLADEDIR "/gal-define-views.glade", NULL); + gui = glade_xml_new_with_domain (GAL_GLADEDIR "/gal-define-views.glade", NULL, PACKAGE); dialog->gui = gui; widget = glade_xml_get_widget(gui, "table-top"); diff --git a/widgets/menus/gal-view-new-dialog.c b/widgets/menus/gal-view-new-dialog.c index aee6e3f0d0..4b7d298fb6 100644 --- a/widgets/menus/gal-view-new-dialog.c +++ b/widgets/menus/gal-view-new-dialog.c @@ -20,7 +20,8 @@ */ #include -#include +#include +#include #include "gal-view-new-dialog.h" #include "gal-define-views-model.h" #include @@ -91,7 +92,7 @@ gal_view_new_dialog_init (GalViewNewDialog *dialog) GladeXML *gui; GtkWidget *widget; - gui = glade_xml_new (GAL_GLADEDIR "/gal-view-new-dialog.glade", NULL); + gui = glade_xml_new_with_domain (GAL_GLADEDIR "/gal-view-new-dialog.glade", NULL, PACKAGE); dialog->gui = gui; widget = glade_xml_get_widget(gui, "table-top"); diff --git a/widgets/table/e-table-config.c b/widgets/table/e-table-config.c index 96a7ee2f51..04b05cadb7 100644 --- a/widgets/table/e-table-config.c +++ b/widgets/table/e-table-config.c @@ -654,8 +654,8 @@ configure_group_dialog (ETableConfig *config, GladeXML *gui) static void setup_gui (ETableConfig *config) { - GladeXML *gui = glade_xml_new ( - ETABLE_GLADEDIR "/e-table-config.glade", NULL); + GladeXML *gui = glade_xml_new_with_domain ( + ETABLE_GLADEDIR "/e-table-config.glade", NULL, PACKAGE); config->dialog_toplevel = glade_xml_get_widget ( gui, "e-table-config"); diff --git a/widgets/table/e-table-field-chooser.c b/widgets/table/e-table-field-chooser.c index a27416a6ba..345883cb89 100644 --- a/widgets/table/e-table-field-chooser.c +++ b/widgets/table/e-table-field-chooser.c @@ -21,7 +21,7 @@ */ #include -#include +#include #include "e-table-field-chooser.h" #include "e-table-field-chooser-item.h" @@ -127,7 +127,7 @@ e_table_field_chooser_init (ETableFieldChooser *etfc) GladeXML *gui; GtkWidget *widget; - gui = glade_xml_new (ETABLE_GLADEDIR "/e-table-field-chooser.glade", NULL); + gui = glade_xml_new_with_domain (ETABLE_GLADEDIR "/e-table-field-chooser.glade", NULL, PACKAGE); etfc->gui = gui; widget = glade_xml_get_widget(gui, "vbox-top"); -- cgit v1.2.3