+2005-01-06 James M. Cape <jcape@ignore-your.tv>
+
+ * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new)
+ (gtk_file_chooser_button_new_with_backend): Use default title if
+ NULL is passed.
+
+ * docs/reference/gtk/tmpl/gtkfilechooserbutton.sgml: Make examples
+ match API.
+
2005-01-05 Federico Mena Quintero <federico@ximian.com>
Fix #161409:
+2005-01-06 James M. Cape <jcape@ignore-your.tv>
+
+ * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new)
+ (gtk_file_chooser_button_new_with_backend): Use default title if
+ NULL is passed.
+
+ * docs/reference/gtk/tmpl/gtkfilechooserbutton.sgml: Make examples
+ match API.
+
2005-01-05 Federico Mena Quintero <federico@ximian.com>
Fix #161409:
+2005-01-06 James M. Cape <jcape@ignore-your.tv>
+
+ * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new)
+ (gtk_file_chooser_button_new_with_backend): Use default title if
+ NULL is passed.
+
+ * docs/reference/gtk/tmpl/gtkfilechooserbutton.sgml: Make examples
+ match API.
+
2005-01-05 Federico Mena Quintero <federico@ximian.com>
Fix #161409:
+2005-01-06 James M. Cape <jcape@ignore-your.tv>
+
+ * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new)
+ (gtk_file_chooser_button_new_with_backend): Use default title if
+ NULL is passed.
+
+ * docs/reference/gtk/tmpl/gtkfilechooserbutton.sgml: Make examples
+ match API.
+
2005-01-05 Federico Mena Quintero <federico@ximian.com>
Fix #161409:
#define GTK_FILE_CHOOSER_BUTTON_GET_PRIVATE(object) (GTK_FILE_CHOOSER_BUTTON ((object))->priv)
+#define DEFAULT_TITLE N_("Select A File")
#define HOME_DISPLAY_NAME N_("Home")
#define DESKTOP_DISPLAY_NAME N_("Desktop")
#define FALLBACK_DISPLAY_NAME N_("(None)")
g_param_spec_string ("title",
P_("Title"),
P_("The title of the file chooser dialog."),
- _("Select a File"),
+ _(DEFAULT_TITLE),
G_PARAM_READWRITE));
/**
return g_object_new (GTK_TYPE_FILE_CHOOSER_BUTTON,
"action", action,
- "title", title,
+ "title", (title ? title : _(DEFAULT_TITLE)),
NULL);
}
action == GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER, NULL);
return g_object_new (GTK_TYPE_FILE_CHOOSER_BUTTON,
- "title", title,
"action", action,
+ "title", (title ? title : _(DEFAULT_TITLE)),
"file-system-backend", backend,
NULL);
}
/**
* gtk_file_chooser_button_new_with_dialog:
- * @dialog: the #GtkDialog widget to use.
+ * @dialog: the #GtkFileChooserDialog widget to use.
*
* Creates a #GtkFileChooserButton widget which uses @dialog as it's
* file-picking window. Note that @dialog must be a #GtkFileChooserDialog (or
/**
* gtk_file_chooser_button_set_width_chars:
* @button: the button widget to examine.
- * @n_chars: the new width, in chracters.
+ * @n_chars: the new width, in characters.
*
* Sets the width (in characters) that @button will use to @n_chars.
*