diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index c4582bb02e..f84396a8f0 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,8 @@ +2005-10-05 Federico Mena Quintero + + * gtk/tmpl/gtkfilechooser.sgml: Document the "quick-bookmark" + binding signal. + 2005-10-04 Federico Mena Quintero * gtk/tmpl/gtkfilechooser.sgml: Document the "desktop-folder" diff --git a/docs/reference/gtk/tmpl/gtkfilechooser.sgml b/docs/reference/gtk/tmpl/gtkfilechooser.sgml index 413756c544..11e547ee79 100644 --- a/docs/reference/gtk/tmpl/gtkfilechooser.sgml +++ b/docs/reference/gtk/tmpl/gtkfilechooser.sgml @@ -238,6 +238,10 @@ update_preview_cb (GtkFileChooser *file_chooser, gpointer data) desktop-folder AltD + + quick-bookmark + Alt1 through Alt0 + @@ -485,6 +489,60 @@ class "GtkFileChooserDefault" binding "misc-shortcut" + + + The "GtkFileChooserDefault::quick-bookmark" signal + + + void user_function (GtkFileChooserDefault *chooser, + gint bookmark_index, + gpointer user_data); + + + + This is used to make the file chooser switch to the bookmark + specified in the bookmark_index parameter. + For example, if you have three bookmarks, you can pass 0, 1, 2 to + this signal to switch to each of them, respectively. By default this is bound to + Alt1, + Alt2, + etc. until + Alt0. Note + that in the default binding, + that Alt1 is + actually defined to switch to the bookmark at index 0, and so on + successively; + Alt0 is + defined to switch to the bookmark at index 10. + + + + + chooser : + + + the object which received the signal. + + + + + bookmark_indes : + + + index of the bookmark to switch to; the indices start at 0. + + + + + user_data : + + + user data set when the signal handler was connected. + + + + +