From c3701c737cb49615074849376946db2034fb9a2e Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Wed, 18 May 2011 21:13:30 +0200 Subject: [PATCH] keys.css: Remove semicolons at end of rules This is not CSS conform (it will break resync code after errors for generic CSS parsers), so I deprecated the support for that semicolon. --- gtk/gtk-keys.css.emacs | 8 ++++---- gtk/gtk-keys.css.mac | 36 ++++++++++++++++++------------------ 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/gtk/gtk-keys.css.emacs b/gtk/gtk-keys.css.emacs index df7d4b8bae..a4f49ae72f 100644 --- a/gtk/gtk-keys.css.emacs +++ b/gtk/gtk-keys.css.emacs @@ -69,7 +69,7 @@ bind "h" { "delete-from-cursor" (chars, -1) }; bind "w" { "delete-from-cursor" (word-ends, -1) }; -}; +} /* * Bindings for GtkTextView @@ -83,7 +83,7 @@ bind "space" { "set-anchor" () }; bind "KP_Space" { "set-anchor" () }; -}; +} /* * Bindings for GtkTreeView @@ -93,7 +93,7 @@ bind "s" { "start-interactive-search" () }; bind "f" { "move-cursor" (logical-positions, 1) }; bind "b" { "move-cursor" (logical-positions, -1) }; -}; +} /* * Bindings for menus @@ -104,7 +104,7 @@ bind "p" { "move-current" (prev) }; bind "f" { "move-current" (child) }; bind "b" { "move-current" (parent) }; -}; +} GtkEntry { gtk-key-bindings: gtk-emacs-text-entry; diff --git a/gtk/gtk-keys.css.mac b/gtk/gtk-keys.css.mac index 095d597f2d..2c29550903 100644 --- a/gtk/gtk-keys.css.mac +++ b/gtk/gtk-keys.css.mac @@ -8,14 +8,14 @@ bind "KP_Right" { "move-cursor" (words, 1, 1) }; bind "Left" { "move-cursor" (words, -1, 1) }; bind "KP_Left" { "move-cursor" (words, -1, 1) }; -}; +} @binding-set gtk-mac-alt-delete { bind "Delete" { "delete-from-cursor" (word-ends, 1) }; bind "KP_Delete" { "delete-from-cursor" (word-ends, 1) }; bind "BackSpace" { "delete-from-cursor" (word-ends, -1) }; -}; +} @binding-set gtk-mac-cmd-c { @@ -25,7 +25,7 @@ unbind "x"; unbind "c"; unbind "v"; -}; +} @binding-set gtk-mac-text-view { @@ -33,7 +33,7 @@ bind "a" { "select-all" (1) }; unbind "a"; unbind "a"; -}; +} @binding-set gtk-mac-label { @@ -46,7 +46,7 @@ unbind "a"; unbind "a"; unbind "c"; -}; +} @binding-set gtk-mac-entry { @@ -57,7 +57,7 @@ bind "a" { "move-cursor" (visual-positions, 0, 0) }; unbind "a"; unbind "a"; -}; +} @binding-set gtk-mac-file-chooser { @@ -67,7 +67,7 @@ bind "G" { "location-popup" () }; bind "H" { "home-folder" () }; bind "Up" { "up-folder" () }; -}; +} @binding-set gtk-mac-tree-view { @@ -79,7 +79,7 @@ unbind "a"; unbind "f"; unbind "F"; -}; +} @binding-set gtk-mac-icon-view { @@ -87,7 +87,7 @@ bind "a" { "unselect-all" () }; unbind "a"; unbind "a"; -}; +} @binding-set gtk-mac-alt-arrows { @@ -99,14 +99,14 @@ bind "KP_Right" { "move-cursor" (words, 1, 1) }; bind "Left" { "move-cursor" (words, -1, 1) }; bind "KP_Left" { "move-cursor" (words, -1, 1) }; -}; +} @binding-set gtk-mac-alt-delete { bind "Delete" { "delete-from-cursor" (word-ends, 1) }; bind "KP_Delete" { "delete-from-cursor" (word-ends, 1) }; bind "BackSpace" { "delete-from-cursor" (word-ends, -1) }; -}; +} @binding-set gtk-mac-cmd-c { @@ -116,7 +116,7 @@ unbind "x"; unbind "c"; unbind "v"; -}; +} @binding-set gtk-mac-text-view { @@ -124,7 +124,7 @@ bind "a" { "select-all" (1) }; unbind "a"; unbind "a"; -}; +} @binding-set gtk-mac-label { @@ -137,7 +137,7 @@ unbind "a"; unbind "a"; unbind "c"; -}; +} @binding-set gtk-mac-entry { @@ -148,7 +148,7 @@ bind "a" { "move-cursor" (visual-positions, 0, 0) }; unbind "a"; unbind "a"; -}; +} @binding-set gtk-mac-file-chooser { @@ -158,7 +158,7 @@ bind "G" { "location-popup" () }; bind "H" { "home-folder" () }; bind "Up" { "up-folder" () }; -}; +} @binding-set gtk-mac-tree-view { @@ -170,7 +170,7 @@ unbind "a"; unbind "f"; unbind "F"; -}; +} @binding-set gtk-mac-icon-view { @@ -178,7 +178,7 @@ bind "a" { "unselect-all" () }; unbind "a"; unbind "a"; -}; +} GtkIconView { gtk-key-bindings: gtk-mac-icon-view;