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

Side by Side Diff: resources/gtkrc

Issue 6086008: theme: Unbind GtkTextView's Ctrl-Shift-Delete accelerator. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/theme.git@master
Patch Set: Created 10 years 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 class "GtkEntry" style "TextStyle" 137 class "GtkEntry" style "TextStyle"
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
148 # must match the corresponding GDK #defines, e.g. GDK_slash, GDK_Delete,
149 # etc. (The modifier names are case-insensitive, though.)
150
147 # 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
148 # 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.
149 binding "UnbindControlSlash" { 153 binding "UnbindControlSlash" {
150 unbind "<Control>slash" 154 unbind "<control>slash"
151 } 155 }
152 class "*" binding "UnbindControlSlash" 156 class "*" binding "UnbindControlSlash"
157
158 # GtkTextView binds Ctrl-Shift-Delete to delete all text to the end of the
159 # current paragraph. We unbind it here so it can be used to open the
160 # "Clear Browsing Data" dialog while the omnibox has the focus.
161 binding "UnbindControlShiftDelete" {
162 unbind "<control><shift>Delete"
163 }
164 class "*" binding "UnbindControlShiftDelete"
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