elm elm_entry.c: Fixed 1. Removed duplicated have_selection check. 2. enable have_sel...
authorDaniel Juyung Seo <seojuyung2@gmail.com>
Thu, 22 Nov 2012 15:15:55 +0000 (15:15 +0000)
committerDaniel Juyung Seo <seojuyung2@gmail.com>
Thu, 22 Nov 2012 15:15:55 +0000 (15:15 +0000)
commitcaf62d9f6d758a55a1d23851daae65c98d7e00bb
treef20fa516de838706b99b909387c00f5ab988a018
parent406f612698719eeb51b3826cdd8d682f02cd49b5
elm elm_entry.c: Fixed 1. Removed duplicated have_selection check. 2. enable have_selection only when a text is actually selected. Patch by Thiep Ha <thiep.ha@samsung.com>

On Mon, Nov 19, 2012 at 9:33 PM, thiep ha <thiep.ha@samsung.com> wrote:

    Dear All,

    I have seen that if there is no selection in an entry, the copy/cut menus are still shown in entry.
    (Example: double click at the end of entry or on an empty entry).
    I modified source code to not show copy/cut menus in above scenario.
    I also removed the redundant checking condition for showing copy/cut menus.
    Please review this patch.

    Best Regards,
    Thiep Ha

SVN revision: 79545
src/lib/elm_entry.c