]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkfilechooserdialog.c
Add gtk_file_chooser_set_current_name() to set the current entry contents.
[~andy/gtk] / gtk / gtkfilechooserdialog.c
index b6ab558f2ddff1eb3ee2d278ac1e3ea5085d2183..fd40dc1ca513e9e744c9cc76e75e55b57f3f1952 100644 (file)
@@ -131,7 +131,7 @@ gtk_file_chooser_dialog_constructor (GType                  type,
 
   if (priv->file_system)
     priv->widget = g_object_new (GTK_TYPE_FILE_CHOOSER_WIDGET,
-                                "file_system", priv->file_system,
+                                "file-system", priv->file_system,
                                 NULL);
   else
     priv->widget = g_object_new (GTK_TYPE_FILE_CHOOSER_WIDGET, NULL);