Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2884)

Unified Diff: resources/gtkrc

Issue 6616001: theme: Unbind Ctrl-Shift-Backspace in GtkUndoView. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/theme.git@master
Patch Set: limit scope of unbinding to GtkUndoView Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: resources/gtkrc
diff --git a/resources/gtkrc b/resources/gtkrc
index a739318c81ae9cfc030e62354addb43dfeaf5b3d..d6b5c9dfc15ae2055a4cd3184b4c76d4650fb916 100644
--- a/resources/gtkrc
+++ b/resources/gtkrc
@@ -145,7 +145,7 @@ 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,
+# must match the corresponding GDK #defines, e.g. GDK_slash, GDK_BackSpace,
# etc. (The modifier names are case-insensitive, though.)
# GTK+ hardcodes Ctrl-/ to select all text, just like Ctrl-A. Unbind it
@@ -155,10 +155,11 @@ binding "UnbindControlSlash" {
}
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"
+# GtkTextView binds Ctrl-Shift-Backspace. We unbind it here so it can be
+# used to open the "Clear Browsing Data" dialog while the omnibox has the
+# focus. GtkUndoView is a custom subclass of GtkTextView used by Chrome's
+# GTK+ omnibox implementation.
+binding "UnbindControlShiftBackspace" {
+ unbind "<control><shift>BackSpace"
}
-class "*" binding "UnbindControlShiftDelete"
+class "GtkUndoView" binding "UnbindControlShiftBackspace"
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698