diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-01-24 02:07:44 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-01-24 02:07:44 +0800 |
commit | c162a93f72d38ce37a2da2e5ead3126d79f0aed5 (patch) | |
tree | 61dd0f98b92b0e985947d5c2044a689f35d8c4c7 /lib/ephy-dialog.h | |
parent | ebcb66eab9a7e65e39bf2f2d665b8ebc27d0c4e2 (diff) | |
download | gsoc2013-epiphany-c162a93f72d38ce37a2da2e5ead3126d79f0aed5.tar gsoc2013-epiphany-c162a93f72d38ce37a2da2e5ead3126d79f0aed5.tar.gz gsoc2013-epiphany-c162a93f72d38ce37a2da2e5ead3126d79f0aed5.tar.bz2 gsoc2013-epiphany-c162a93f72d38ce37a2da2e5ead3126d79f0aed5.tar.lz gsoc2013-epiphany-c162a93f72d38ce37a2da2e5ead3126d79f0aed5.tar.xz gsoc2013-epiphany-c162a93f72d38ce37a2da2e5ead3126d79f0aed5.tar.zst gsoc2013-epiphany-c162a93f72d38ce37a2da2e5ead3126d79f0aed5.zip |
Allow passing the translation domain to ephy_dialog_construct, to make
2004-01-23 Christian Persch <chpe@cvs.gnome.org>
* embed/downloader-view.c: (downloader_view_build_ui):
* embed/find-dialog.c: (find_dialog_init):
* embed/mozilla/GtkNSSDialogs.cpp:
* embed/print-dialog.c: (ephy_print_dialog_new),
(ephy_print_setup_dialog_new):
* lib/ephy-dialog.c: (impl_construct), (ephy_dialog_construct):
* lib/ephy-dialog.h:
* lib/ephy-glade.c: (ephy_glade_widget_new):
* lib/ephy-glade.h:
* src/ephy-encoding-dialog.c: (ephy_encoding_dialog_init):
* src/pdm-dialog.c: (pdm_dialog_init):
* src/prefs-dialog.c: (setup_add_language_dialog),
(prefs_dialog_init):
Allow passing the translation domain to ephy_dialog_construct,
to make extension's dialogues translatable. Fix all callers.
Diffstat (limited to 'lib/ephy-dialog.h')
-rw-r--r-- | lib/ephy-dialog.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/ephy-dialog.h b/lib/ephy-dialog.h index 2a956464d..085f692cd 100644 --- a/lib/ephy-dialog.h +++ b/lib/ephy-dialog.h @@ -1,6 +1,6 @@ /* * Copyright (C) 2000-2003 Marco Pesenti Gritti - * Copyright (C) 2003 Christian Persch + * Copyright (C) 2003, 2004 Christian Persch * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -66,7 +66,8 @@ struct EphyDialogClass void (* construct) (EphyDialog *dialog, const EphyDialogProperty *properties, const char *file, - const char *name); + const char *name, + const char *domain); void (* show) (EphyDialog *dialog); }; @@ -87,7 +88,8 @@ EphyDialog *ephy_dialog_new_with_parent (GtkWidget *parent_window); void ephy_dialog_construct (EphyDialog *dialog, const EphyDialogProperty *properties, const char *file, - const char *name); + const char *name, + const char *domain); void ephy_dialog_add_enum (EphyDialog *dialog, const char *id, |