summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooser.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-06-16 23:51:06 -0400
committerMatthias Clasen <mclasen@redhat.com>2011-06-16 23:51:06 -0400
commit8f357bb809b233e3a8a3d36f04bbf9152c7556de (patch)
tree6c6e67b019d046aa7897175657bae737145a3233 /gtk/gtkfilechooser.c
parent5eb8ca1882e40f9993efb7cfbde835938f8e0212 (diff)
downloadgtk+-8f357bb809b233e3a8a3d36f04bbf9152c7556de.tar.gz
Update keybinding docs
These were still explaining gtkrc syntax.
Diffstat (limited to 'gtk/gtkfilechooser.c')
-rw-r--r--gtk/gtkfilechooser.c36
1 files changed, 18 insertions, 18 deletions
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 <keycap>Shift</keycap> modifier to a few
* of the default bindings, you can include the following
- * fragment in your <filename>.gtkrc-3.0</filename> file:
+ * fragment in your <filename>.config/gtk-3.0/gtk.css</filename> file:
* </para>
* <programlisting>
- * binding "my-own-gtkfilechooser-bindings" {
- * bind "&lt;Alt&gt;&lt;Shift&gt;Up" {
- * "up-folder" ()
- * }
- * bind "&lt;Alt&gt;&lt;Shift&gt;Down" {
- * "down-folder" ()
- * }
- * bind "&lt;Alt&gt;&lt;Shift&gt;Home" {
- * "home-folder" ()
- * }
+ * @binding-set MyOwnFilechooserBindings
+ * {
+ * bind "&lt;Alt&gt;&lt;Shift&gt;Up" { "up-folder" () }
+ * bind "&lt;Alt&gt;&lt;Shift&gt;Down" { "down-folder" () }
+ * bind "&lt;Alt&gt;&lt;Shift&gt;Home" { "home-folder" () }
* }
*
- * class "GtkFileChooserDefault" binding "my-own-gtkfilechooser-bindings"
+ * GtkFileChooserDefault
+ * {
+ * gtk-key-bindings: MyOwnFilechooserBindings
+ * }
* </programlisting>
* </example>
* <refsect3 id="GtkFileChooserDefault-location-popup">
@@ -336,15 +334,17 @@
* frequently. You could then create an <keycombo>
* <keycap>Alt</keycap> <keycap>M</keycap> </keycombo>
* shortcut by including the following in your
- * <filename>.gtkrc-3.0</filename>:
+ * <filename>.config/gtk-3.0/gtk.css</filename>:
* <programlisting>
- * binding "misc-shortcut" {
- * bind "&lt;Alt&gt;M" {
- * "location-popup" ("/home/username/misc")
- * }
+ * @binding-set MiscShortcut
+ * {
+ * bind "&lt;Alt&gt;M" { "location-popup" ("/home/username/misc") }
* }
*
- * class "GtkFileChooserDefault" binding "misc-shortcut"
+ * GtkFileChooserDefault
+ * {
+ * gtk-key-bindings: MiscShortcut
+ * }
* </programlisting>
* </note>
* </refsect3>