diff --git a/gtk/gtkfilechooser.c b/gtk/gtkfilechooser.c index 19071fe3c1..f7676ff5af 100644 --- a/gtk/gtkfilechooser.c +++ b/gtk/gtkfilechooser.c @@ -261,22 +261,20 @@ * You can change these defaults to something else. For * example, to add a Shift modifier to a few * of the default bindings, you can include the following - * fragment in your .gtkrc-3.0 file: + * fragment in your .config/gtk-3.0/gtk.css file: * * - * binding "my-own-gtkfilechooser-bindings" { - * bind "<Alt><Shift>Up" { - * "up-folder" () - * } - * bind "<Alt><Shift>Down" { - * "down-folder" () - * } - * bind "<Alt><Shift>Home" { - * "home-folder" () - * } + * @binding-set MyOwnFilechooserBindings + * { + * bind "<Alt><Shift>Up" { "up-folder" () } + * bind "<Alt><Shift>Down" { "down-folder" () } + * bind "<Alt><Shift>Home" { "home-folder" () } * } * - * class "GtkFileChooserDefault" binding "my-own-gtkfilechooser-bindings" + * GtkFileChooserDefault + * { + * gtk-key-bindings: MyOwnFilechooserBindings + * } * * * @@ -336,15 +334,17 @@ * frequently. You could then create an * Alt M * shortcut by including the following in your - * .gtkrc-3.0: + * .config/gtk-3.0/gtk.css: * - * binding "misc-shortcut" { - * bind "<Alt>M" { - * "location-popup" ("/home/username/misc") - * } + * @binding-set MiscShortcut + * { + * bind "<Alt>M" { "location-popup" ("/home/username/misc") } * } * - * class "GtkFileChooserDefault" binding "misc-shortcut" + * GtkFileChooserDefault + * { + * gtk-key-bindings: MiscShortcut + * } * * *