Changeset 147916 in webkit
- Timestamp:
- Apr 8, 2013 9:05:52 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r147915 r147916 1 2013-04-08 Sergio Villar Senin <svillar@igalia.com> 2 3 [GTK] Toggle OverWrite mode when pressing the Insert key 4 https://bugs.webkit.org/show_bug.cgi?id=113384 5 6 Reviewed by Martin Robinson. 7 8 Perform an OverWrite command as a response to the emission of the 9 toggle-overwrite signal. Due to the nature of the command it will 10 only do that when being on a richly editable web content. 11 12 * platform/gtk/KeyBindingTranslator.cpp: 13 (WebCore::toggleOverwriteCallback): 14 1 15 2013-04-08 Seokju Kwon <seokju.kwon@gmail.com> 2 16 -
trunk/Source/WebCore/platform/gtk/KeyBindingTranslator.cpp
r143696 r147916 58 58 } 59 59 60 static void toggleOverwriteCallback(GtkWidget* widget, KeyBindingTranslator*) 61 { 62 // We don't support toggling the overwrite mode, but the default callback expects 63 // the GtkTextView to have a layout, so we handle this signal just to stop it. 60 static void toggleOverwriteCallback(GtkWidget* widget, KeyBindingTranslator* translator) 61 { 64 62 g_signal_stop_emission_by_name(widget, "toggle-overwrite"); 63 translator->addPendingEditorCommand("OverWrite"); 65 64 } 66 65
Note: See TracChangeset
for help on using the changeset viewer.