From 63360de5e1698c330fd50162988a6e3c86f47b92 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 1 Nov 2004 20:20:25 +0000 Subject: [PATCH] Move some docs inline. 2004-11-01 Matthias Clasen * gtk/tmpl/gtkfilechooserbutton.sgml: Move some docs inline. --- ChangeLog | 2 ++ ChangeLog.pre-2-10 | 2 ++ ChangeLog.pre-2-6 | 2 ++ ChangeLog.pre-2-8 | 2 ++ docs/reference/ChangeLog | 2 ++ gtk/gtkfilechooserbutton.c | 33 +++++++++++++++++++++++++++++++++ 6 files changed, 43 insertions(+) diff --git a/ChangeLog b/ChangeLog index ad822ec8e9..5f7f55821b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2004-11-01 Matthias Clasen + * gtk/gtkfilechooserbutton.c: Move some docs inline. + * gtk/gtkaboutdialog.c (gtk_show_about_dialog): Doc update. * gtk/gtktextbuffer.c (gtk_text_buffer_backspace): Revalidate the diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index ad822ec8e9..5f7f55821b 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,7 @@ 2004-11-01 Matthias Clasen + * gtk/gtkfilechooserbutton.c: Move some docs inline. + * gtk/gtkaboutdialog.c (gtk_show_about_dialog): Doc update. * gtk/gtktextbuffer.c (gtk_text_buffer_backspace): Revalidate the diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index ad822ec8e9..5f7f55821b 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,5 +1,7 @@ 2004-11-01 Matthias Clasen + * gtk/gtkfilechooserbutton.c: Move some docs inline. + * gtk/gtkaboutdialog.c (gtk_show_about_dialog): Doc update. * gtk/gtktextbuffer.c (gtk_text_buffer_backspace): Revalidate the diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index ad822ec8e9..5f7f55821b 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,5 +1,7 @@ 2004-11-01 Matthias Clasen + * gtk/gtkfilechooserbutton.c: Move some docs inline. + * gtk/gtkaboutdialog.c (gtk_show_about_dialog): Doc update. * gtk/gtktextbuffer.c (gtk_text_buffer_backspace): Revalidate the diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index e33cc17e5a..f7c0f33455 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,5 +1,7 @@ 2004-11-01 Matthias Clasen + * gtk/tmpl/gtkfilechooserbutton.sgml: Move some docs inline. + * gtk/tmpl/gtkaboutdialog.sgml: Small update. * gdk-pixbuf/tmpl/initialization_versions.sgml: Document diff --git a/gtk/gtkfilechooserbutton.c b/gtk/gtkfilechooserbutton.c index 8e3a615baa..a31ad6071f 100644 --- a/gtk/gtkfilechooserbutton.c +++ b/gtk/gtkfilechooserbutton.c @@ -239,6 +239,13 @@ gtk_file_chooser_button_class_init (GtkFileChooserButtonClass * class) widget_class->screen_changed = gtk_file_chooser_button_screen_changed; widget_class->mnemonic_activate = gtk_file_chooser_button_mnemonic_activate; + /** + * GtkFileChooserButton:dialog: + * + * Instance of the #GtkFileChooserDialog associated with the button. + * + * Since: 2.6 + */ g_object_class_install_property (gobject_class, PROP_DIALOG, g_param_spec_object ("dialog", P_("Dialog"), @@ -246,17 +253,43 @@ gtk_file_chooser_button_class_init (GtkFileChooserButtonClass * class) GTK_TYPE_FILE_CHOOSER_DIALOG, (G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY))); + + /** + * GtkFileChooserButton:title: + * + * Title to put on the #GtkFileChooserDialog associated with the button. + * + * Since: 2.6 + */ g_object_class_install_property (gobject_class, PROP_TITLE, g_param_spec_string ("title", P_("Title"), P_("The title of the file chooser dialog."), _("Select a File"), G_PARAM_READWRITE)); + + /** + * GtkFileChooserButton:active: + * + * %TRUE, if the #GtkFileChooserDialog associated with the button has been + * made visible. This can also be set by the application, though it is + * rarely useful to do so. + * + * Since: 2.6 + */ g_object_class_install_property (gobject_class, PROP_ACTIVE, g_param_spec_boolean ("active", P_("Active"), P_("Whether the browse dialog is visible or not."), FALSE, G_PARAM_READWRITE)); + + /** + * GtkFileChooserButton: + * + * The width of the entry and label inside the button, in characters. + * + * Since: 2.6 + */ g_object_class_install_property (gobject_class, PROP_WIDTH_CHARS, g_param_spec_int ("width-chars", P_("Width In Characters"),