diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-06-16 16:57:02 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-06-16 16:57:02 +0000 |
commit | 0b05edb04fdef579fa268243c391e75c145991b6 (patch) | |
tree | c1e99cdfd3c8688febe96759050e2270cdba7c08 /gtk/gtkprintbackend.c | |
parent | d9d210ad2384f858d8866143c88517aaa6f845ec (diff) | |
download | gtk+-0b05edb04fdef579fa268243c391e75c145991b6.tar.gz |
Move the registration of the gtk-print-preview-command setting from
2006-06-16 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintoperation-unix.c:
* gtk/gtkprintbackend.c: Move the registration of the
gtk-print-preview-command setting from gtkprintbackend.c to
gtkprintoperation-unix.c, to make sure it is registered before
the first use. Also, document the two settings.
Diffstat (limited to 'gtk/gtkprintbackend.c')
-rw-r--r-- | gtk/gtkprintbackend.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/gtk/gtkprintbackend.c b/gtk/gtkprintbackend.c index cbcf21e8fb..a70582b7a1 100644 --- a/gtk/gtkprintbackend.c +++ b/gtk/gtkprintbackend.c @@ -248,17 +248,21 @@ gtk_print_backend_initialize (void) if (!initialized) { + /** + * GtkSettings::gtk-print-backends: + * + * A comma-separated list of print backends to use in the print + * dialog. Available print backends depend on the GTK+ installation, + * and may include "pdf", "cups" or "lpr". + * + * Since: 2.10 + */ gtk_settings_install_property (g_param_spec_string ("gtk-print-backends", P_("Default print backend"), P_("List of the GtkPrintBackend backends to use by default"), GTK_PRINT_BACKENDS, GTK_PARAM_READWRITE)); - gtk_settings_install_property (g_param_spec_string ("gtk-print-preview-command", - P_("Default command to run when displaying a print preview"), - P_("Command to run when displaying a print preview"), - GTK_PRINT_PREVIEW_COMMAND, - GTK_PARAM_READWRITE)); initialized = TRUE; } } |