]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkfilechooser.c
Add some docs. (#316001, Guillaume Cottenceau)
[~andy/gtk] / gtk / gtkfilechooser.c
index 6c3f36880ad88c2b4a027d49a5cbca8c3900e62c..005d56032e8b1058bd2c2a55a30ea2bb738d2423 100644 (file)
@@ -261,12 +261,21 @@ gtk_file_chooser_class_init (gpointer g_iface)
                                                             FALSE,
                                                             GTK_PARAM_READWRITE));
 
+  /**
+   * GtkFileChooser:do-overwrite-confirmation:
+   * 
+   * Whether a file chooser in %GTK_FILE_CHOOSER_ACTION_SAVE mode
+   * will present an overwrite confirmation dialog if the user
+   * selects a file name that already exists.
+   *
+   * Since: 2.8
+   */
   g_object_interface_install_property (g_iface,
                                       g_param_spec_boolean ("do-overwrite-confirmation",
                                                             P_("Do overwrite confirmation"),
-                                                            P_("Whether a file chooser in GTK_FILE_CHOOSER_ACTION_SAVE "
-                                                               "will present an overwrite confirmation dialog if the user "
-                                                               "selects a file name that already exists."),
+                                                            P_("Whether a file chooser in save mode"
+                                                               "will present an overwrite confirmation dialog "
+                                                               " if necessary."),
                                                             FALSE,
                                                             GTK_PARAM_READWRITE));
 }