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 /src/prefs-dialog.c | |
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 'src/prefs-dialog.c')
-rw-r--r-- | src/prefs-dialog.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c index d0a9b1e4b..24abf552f 100644 --- a/src/prefs-dialog.c +++ b/src/prefs-dialog.c @@ -1,6 +1,6 @@ /* * Copyright (C) 200-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 @@ -795,9 +795,11 @@ setup_add_language_dialog (PrefsDialog *pd) "parent-window", window, NULL)); - ephy_dialog_construct (dialog, add_lang_props, + ephy_dialog_construct (dialog, + add_lang_props, ephy_file ("prefs-dialog.glade"), - "add_language_dialog"); + "add_language_dialog", + NULL); store = gtk_list_store_new (2, G_TYPE_STRING, G_TYPE_STRING); @@ -1147,7 +1149,8 @@ prefs_dialog_init (PrefsDialog *pd) ephy_dialog_construct (dialog, properties, ephy_file ("prefs-dialog.glade"), - "prefs_dialog"); + "prefs_dialog", + NULL); ephy_dialog_add_enum (dialog, properties[ACCEPT_COOKIES_PROP].id, n_cookies_accept_enum, cookies_accept_enum); |