Index: resources/gtkrc |
diff --git a/resources/gtkrc b/resources/gtkrc |
index 1c945ba8904d9d6c39a33ea14590314ec30a817c..a739318c81ae9cfc030e62354addb43dfeaf5b3d 100644 |
--- a/resources/gtkrc |
+++ b/resources/gtkrc |
@@ -144,9 +144,21 @@ widget "*.chromeos-options-tab" style "WhiteBackgroundStyle" |
widget "*.chromeos-options-tab*.GtkEventBox" style "WhiteBackgroundStyle" |
+# NOTE: The keysym names in the below bindings are case-sensitive; they |
+# must match the corresponding GDK #defines, e.g. GDK_slash, GDK_Delete, |
+# etc. (The modifier names are case-insensitive, though.) |
+ |
# GTK+ hardcodes Ctrl-/ to select all text, just like Ctrl-A. Unbind it |
# here so we can bind it ourselves to do something else in Chrome. |
binding "UnbindControlSlash" { |
- unbind "<Control>slash" |
+ unbind "<control>slash" |
} |
class "*" binding "UnbindControlSlash" |
+ |
+# GtkTextView binds Ctrl-Shift-Delete to delete all text to the end of the |
+# current paragraph. We unbind it here so it can be used to open the |
+# "Clear Browsing Data" dialog while the omnibox has the focus. |
+binding "UnbindControlShiftDelete" { |
+ unbind "<control><shift>Delete" |
+} |
+class "*" binding "UnbindControlShiftDelete" |