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

Side by Side 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, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 gtk_color_scheme = "fg_color:#000\nbg_color:#F7F7F7\nbase_color:#F7F7F7\ntext_co lor:#000\nselected_bg_color:#000\nselected_fg_color:#000\ntooltip_bg_color:#F7F7 F7\ntooltip_fg_color:#000\n" 1 gtk_color_scheme = "fg_color:#000\nbg_color:#F7F7F7\nbase_color:#F7F7F7\ntext_co lor:#000\nselected_bg_color:#000\nselected_fg_color:#000\ntooltip_bg_color:#F7F7 F7\ntooltip_fg_color:#000\n"
2 2
3 gtk-font-name="ChromeDroidSans 9" 3 gtk-font-name="ChromeDroidSans 9"
4 4
5 # Disable menu and button icons. 5 # Disable menu and button icons.
6 gtk-menu-images = 0 6 gtk-menu-images = 0
7 gtk-button-images = 0 7 gtk-button-images = 0
8 8
9 # Diable mnemonics for labels and menu items. 9 # Diable mnemonics for labels and menu items.
10 gtk-enable-mnemonics = 0 10 gtk-enable-mnemonics = 0
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 138
139 class "GtkTextView" style "TextStyle" 139 class "GtkTextView" style "TextStyle"
140 140
141 widget "gtk-tooltip*" style "TooltipStyle" 141 widget "gtk-tooltip*" style "TooltipStyle"
142 142
143 widget "*.chromeos-options-tab" style "WhiteBackgroundStyle" 143 widget "*.chromeos-options-tab" style "WhiteBackgroundStyle"
144 144
145 widget "*.chromeos-options-tab*.GtkEventBox" style "WhiteBackgroundStyle" 145 widget "*.chromeos-options-tab*.GtkEventBox" style "WhiteBackgroundStyle"
146 146
147 # NOTE: The keysym names in the below bindings are case-sensitive; they 147 # NOTE: The keysym names in the below bindings are case-sensitive; they
148 # must match the corresponding GDK #defines, e.g. GDK_slash, GDK_Delete, 148 # must match the corresponding GDK #defines, e.g. GDK_slash, GDK_BackSpace,
149 # etc. (The modifier names are case-insensitive, though.) 149 # etc. (The modifier names are case-insensitive, though.)
150 150
151 # GTK+ hardcodes Ctrl-/ to select all text, just like Ctrl-A. Unbind it 151 # GTK+ hardcodes Ctrl-/ to select all text, just like Ctrl-A. Unbind it
152 # here so we can bind it ourselves to do something else in Chrome. 152 # here so we can bind it ourselves to do something else in Chrome.
153 binding "UnbindControlSlash" { 153 binding "UnbindControlSlash" {
154 unbind "<control>slash" 154 unbind "<control>slash"
155 } 155 }
156 class "*" binding "UnbindControlSlash" 156 class "*" binding "UnbindControlSlash"
157 157
158 # GtkTextView binds Ctrl-Shift-Delete to delete all text to the end of the 158 # GtkTextView binds Ctrl-Shift-Backspace. We unbind it here so it can be
159 # current paragraph. We unbind it here so it can be used to open the 159 # used to open the "Clear Browsing Data" dialog while the omnibox has the
160 # "Clear Browsing Data" dialog while the omnibox has the focus. 160 # focus. GtkUndoView is a custom subclass of GtkTextView used by Chrome's
161 binding "UnbindControlShiftDelete" { 161 # GTK+ omnibox implementation.
162 unbind "<control><shift>Delete" 162 binding "UnbindControlShiftBackspace" {
163 unbind "<control><shift>BackSpace"
163 } 164 }
164 class "*" binding "UnbindControlShiftDelete" 165 class "GtkUndoView" binding "UnbindControlShiftBackspace"
OLDNEW
« 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