aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-01-24 02:07:44 +0800
committerChristian Persch <chpe@src.gnome.org>2004-01-24 02:07:44 +0800
commitc162a93f72d38ce37a2da2e5ead3126d79f0aed5 (patch)
tree61dd0f98b92b0e985947d5c2044a689f35d8c4c7 /src
parentebcb66eab9a7e65e39bf2f2d665b8ebc27d0c4e2 (diff)
downloadgsoc2013-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')
-rw-r--r--src/ephy-encoding-dialog.c5
-rwxr-xr-xsrc/pdm-dialog.c4
-rw-r--r--src/prefs-dialog.c11
3 files changed, 13 insertions, 7 deletions
diff --git a/src/ephy-encoding-dialog.c b/src/ephy-encoding-dialog.c
index f3df12558..69ccf13a1 100644
--- a/src/ephy-encoding-dialog.c
+++ b/src/ephy-encoding-dialog.c
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2000, 2001, 2002, 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
@@ -319,7 +319,8 @@ ephy_encoding_dialog_init (EphyEncodingDialog *dialog)
ephy_dialog_construct (EPHY_DIALOG (dialog),
properties,
ephy_file ("epiphany.glade"),
- "encoding_dialog");
+ "encoding_dialog",
+ NULL);
dialog->priv->filter = ephy_node_filter_new ();
diff --git a/src/pdm-dialog.c b/src/pdm-dialog.c
index 6d77006d1..43525fedd 100755
--- a/src/pdm-dialog.c
+++ b/src/pdm-dialog.c
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2002 Jorn Baayen
* Copyright (C) 2003 Marco Pesenti Gritti
+ * 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
@@ -786,7 +787,8 @@ pdm_dialog_init (PdmDialog *dialog)
ephy_dialog_construct (EPHY_DIALOG(dialog),
properties,
ephy_file ("epiphany.glade"),
- "pdm_dialog");
+ "pdm_dialog",
+ NULL);
/**
* Group all Properties and Remove buttons in the same size group to
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);