summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooser.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-09-13 17:31:32 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-09-13 17:31:32 +0000
commite6589d4e7d2b80398a5baf37ff267640993c9114 (patch)
treed52eaf33bc87cff9bc754a167095ea625f4da159 /gtk/gtkfilechooser.c
parent89fafcd38bbb5461ad9c8ce3f81840ee494e2374 (diff)
downloadgtk+-e6589d4e7d2b80398a5baf37ff267640993c9114.tar.gz
Add some docs. (#316001, Guillaume Cottenceau)
2005-09-13 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Add some docs. (#316001, Guillaume Cottenceau)
Diffstat (limited to 'gtk/gtkfilechooser.c')
-rw-r--r--gtk/gtkfilechooser.c15
1 files changed, 12 insertions, 3 deletions
diff --git a/gtk/gtkfilechooser.c b/gtk/gtkfilechooser.c
index 6c3f36880a..005d56032e 100644
--- a/gtk/gtkfilechooser.c
+++ b/gtk/gtkfilechooser.c
@@ -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));
}