aboutsummaryrefslogtreecommitdiffstats
path: root/embed/print-dialog.c
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 /embed/print-dialog.c
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 'embed/print-dialog.c')
-rwxr-xr-xembed/print-dialog.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/embed/print-dialog.c b/embed/print-dialog.c
index 37953f015..4fc54788c 100755
--- a/embed/print-dialog.c
+++ b/embed/print-dialog.c
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2002 Jorn Baayen
- * 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
@@ -330,8 +330,11 @@ ephy_print_dialog_new (GtkWidget *parent,
g_object_set (G_OBJECT (dialog), "parent-window", parent, NULL);
}
- ephy_dialog_construct (dialog, print_props,
- ephy_file ("print.glade"), "print_dialog");
+ ephy_dialog_construct (dialog,
+ print_props,
+ ephy_file ("print.glade"),
+ "print_dialog",
+ NULL);
window = ephy_dialog_get_control (dialog, print_props[WINDOW_PROP].id);
icon = gtk_widget_render_icon (window,
@@ -359,9 +362,11 @@ ephy_print_setup_dialog_new (void)
dialog = EPHY_DIALOG (g_object_new (EPHY_TYPE_DIALOG, NULL));
- ephy_dialog_construct (dialog, setup_props,
+ ephy_dialog_construct (dialog,
+ setup_props,
ephy_file ("print.glade"),
- "print_setup_dialog");
+ "print_setup_dialog",
+ NULL);
ephy_dialog_add_enum (dialog, setup_props[PAPER_PROP].id,
n_paper_format_enum, paper_format_enum);