From c162a93f72d38ce37a2da2e5ead3126d79f0aed5 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Fri, 23 Jan 2004 18:07:44 +0000 Subject: Allow passing the translation domain to ephy_dialog_construct, to make 2004-01-23 Christian Persch * 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. --- embed/downloader-view.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'embed/downloader-view.c') diff --git a/embed/downloader-view.c b/embed/downloader-view.c index 54f94ea5c..f79f5c2c0 100644 --- a/embed/downloader-view.c +++ b/embed/downloader-view.c @@ -1,5 +1,6 @@ /* - * Copyright (C) 2000, 2001, 2002 Marco Pesenti Gritti + * Copyright (C) 2000-2004 Marco Pesenti Gritti + * Copyright (C) 2003, 2004 Xan Lopez * * 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 @@ -434,7 +435,8 @@ downloader_view_build_ui (DownloaderView *dv) ephy_dialog_construct (d, properties, ephy_file ("epiphany.glade"), - "download_manager_dialog"); + "download_manager_dialog", + NULL); /* lookup needed widgets */ priv->window = ephy_dialog_get_control(d, properties[PROP_WINDOW].id); -- cgit v1.2.3