Changeset 35486 in webkit


Ignore:
Timestamp:
Jul 31, 2008 10:20:00 AM (16 years ago)
Author:
Simon Hausmann
Message:

2008-07-31 Erik Bunce <elbunce@thehive.com>

Reviewed by Simon.

https://bugs.webkit.org/show_bug.cgi?id=20224

Include the Writing Direction sub-menu in the context menu of all
platforms but GTK. This fixes a regression introduced by revision
34426.

Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r35485 r35486  
     12008-07-31  Erik Bunce  <elbunce@thehive.com>
     2
     3        Reviewed by Simon.
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=20224
     6
     7        Include the Writing Direction sub-menu in the context menu of all
     8        platforms but GTK. This fixes a regression introduced by revision
     9        34426.
     10
     11        * platform/ContextMenu.cpp:
     12        (WebCore::ContextMenu::populate):
     13
    1142008-07-31  Brady Eidson  <beidson@apple.com>
    215
  • trunk/WebCore/platform/ContextMenu.cpp

    r34589 r35486  
    154154    speechMenuItem.setSubMenu(&speechMenu);
    155155}
    156 
     156#endif
     157 
     158#if !PLATFORM(GTK)
    157159static void createAndAppendWritingDirectionSubMenu(const HitTestResult& result, ContextMenuItem& writingDirectionMenuItem)
    158160{
     
    401403            createAndAppendSpeechSubMenu(m_hitTestResult, SpeechMenuItem);
    402404            appendItem(SpeechMenuItem);
     405#endif
     406#if !PLATFORM(GTK)
    403407            ContextMenuItem WritingDirectionMenuItem(SubmenuType, ContextMenuItemTagWritingDirectionMenu,
    404408                contextMenuItemTagWritingDirectionMenu());
Note: See TracChangeset for help on using the changeset viewer.