⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 155430 in webkit


Ignore:
Timestamp:
Sep 10, 2013, 3:02:07 AM (13 years ago)
Author:
Carlos Garcia Campos
Message:

[GTK] /webkit2/WebKitWebView/default-menu fails when GtkSettings:gtk-show-input-method-menu is disabled
https://bugs.webkit.org/show_bug.cgi?id=121088

Reviewed by Xan Lopez.

  • UIProcess/API/gtk/tests/TestContextMenu.cpp: Always check

Unicode submenu is present in default context menu for editable
content.

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r155409 r155430  
     12013-09-10  Carlos Garcia Campos  <cgarcia@igalia.com>
     2
     3        [GTK] /webkit2/WebKitWebView/default-menu fails when GtkSettings:gtk-show-input-method-menu is disabled
     4        https://bugs.webkit.org/show_bug.cgi?id=121088
     5
     6        Reviewed by Xan Lopez.
     7
     8        * UIProcess/API/gtk/tests/TestContextMenu.cpp: Always check
     9        Unicode submenu is present in default context menu for editable
     10        content.
     11
    1122013-09-09  Dean Jackson  <dino@apple.com>
    213
  • trunk/Source/WebKit2/UIProcess/API/gtk/tests/TestContextMenu.cpp

    r155345 r155430  
    339339            iter = checkCurrentItemIsSeparatorAndGetNext(iter);
    340340            iter = checkCurrentItemIsStockActionAndGetNext(iter, WEBKIT_CONTEXT_MENU_ACTION_SELECT_ALL, Visible | Enabled);
    341             if (shouldShowInputMethodsMenu()) {
    342                 iter = checkCurrentItemIsSeparatorAndGetNext(iter);
     341            iter = checkCurrentItemIsSeparatorAndGetNext(iter);
     342            if (shouldShowInputMethodsMenu())
    343343                iter = checkCurrentItemIsStockActionAndGetNext(iter, WEBKIT_CONTEXT_MENU_ACTION_INPUT_METHODS, Visible | Enabled);
    344                 iter = checkCurrentItemIsStockActionAndGetNext(iter, WEBKIT_CONTEXT_MENU_ACTION_UNICODE, Visible | Enabled);
    345             }
     344            iter = checkCurrentItemIsStockActionAndGetNext(iter, WEBKIT_CONTEXT_MENU_ACTION_UNICODE, Visible | Enabled);
    346345            break;
    347346        default:
Note: See TracChangeset for help on using the changeset viewer.