Update keybinding docs
These were still explaining gtkrc syntax.
This commit is contained in:
parent
5eb8ca1882
commit
8f357bb809
@ -261,22 +261,20 @@
|
|||||||
* You can change these defaults to something else. For
|
* You can change these defaults to something else. For
|
||||||
* example, to add a <keycap>Shift</keycap> modifier to a few
|
* example, to add a <keycap>Shift</keycap> modifier to a few
|
||||||
* of the default bindings, you can include the following
|
* 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>
|
* </para>
|
||||||
* <programlisting>
|
* <programlisting>
|
||||||
* binding "my-own-gtkfilechooser-bindings" {
|
* @binding-set MyOwnFilechooserBindings
|
||||||
* bind "<Alt><Shift>Up" {
|
* {
|
||||||
* "up-folder" ()
|
* bind "<Alt><Shift>Up" { "up-folder" () }
|
||||||
* }
|
* bind "<Alt><Shift>Down" { "down-folder" () }
|
||||||
* bind "<Alt><Shift>Down" {
|
* bind "<Alt><Shift>Home" { "home-folder" () }
|
||||||
* "down-folder" ()
|
|
||||||
* }
|
|
||||||
* bind "<Alt><Shift>Home" {
|
|
||||||
* "home-folder" ()
|
|
||||||
* }
|
|
||||||
* }
|
* }
|
||||||
*
|
*
|
||||||
* class "GtkFileChooserDefault" binding "my-own-gtkfilechooser-bindings"
|
* GtkFileChooserDefault
|
||||||
|
* {
|
||||||
|
* gtk-key-bindings: MyOwnFilechooserBindings
|
||||||
|
* }
|
||||||
* </programlisting>
|
* </programlisting>
|
||||||
* </example>
|
* </example>
|
||||||
* <refsect3 id="GtkFileChooserDefault-location-popup">
|
* <refsect3 id="GtkFileChooserDefault-location-popup">
|
||||||
@ -336,15 +334,17 @@
|
|||||||
* frequently. You could then create an <keycombo>
|
* frequently. You could then create an <keycombo>
|
||||||
* <keycap>Alt</keycap> <keycap>M</keycap> </keycombo>
|
* <keycap>Alt</keycap> <keycap>M</keycap> </keycombo>
|
||||||
* shortcut by including the following in your
|
* shortcut by including the following in your
|
||||||
* <filename>.gtkrc-3.0</filename>:
|
* <filename>.config/gtk-3.0/gtk.css</filename>:
|
||||||
* <programlisting>
|
* <programlisting>
|
||||||
* binding "misc-shortcut" {
|
* @binding-set MiscShortcut
|
||||||
* bind "<Alt>M" {
|
* {
|
||||||
* "location-popup" ("/home/username/misc")
|
* bind "<Alt>M" { "location-popup" ("/home/username/misc") }
|
||||||
* }
|
|
||||||
* }
|
* }
|
||||||
*
|
*
|
||||||
* class "GtkFileChooserDefault" binding "misc-shortcut"
|
* GtkFileChooserDefault
|
||||||
|
* {
|
||||||
|
* gtk-key-bindings: MiscShortcut
|
||||||
|
* }
|
||||||
* </programlisting>
|
* </programlisting>
|
||||||
* </note>
|
* </note>
|
||||||
* </refsect3>
|
* </refsect3>
|
||||||
|
Loading…
Reference in New Issue
Block a user