Use default title if NULL is passed.
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.
This commit is contained in:
committed by
James M. Cape
parent
0e8c3f4a2f
commit
977a557a67
@ -20,7 +20,8 @@ property to %TRUE.
|
||||
{
|
||||
GtkWidget *button;
|
||||
|
||||
button = gtk_file_chooser_button_new (_("Select a file"));
|
||||
button = gtk_file_chooser_button_new (_("Select a file"),
|
||||
GTK_FILE_CHOOSER_ACTION_OPEN);
|
||||
gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (button),
|
||||
"/etc");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user