| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
It is better than nothing. Still there is no way to access the
selected text from webkit, and upstream decided to remove the
API:
https://bugs.webkit.org/show_bug.cgi?id=62512
Also, remove never used commented code.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
|
|
|
|
|
|
|
| |
To make the user better distinguish the different sections
link/image/selection, add line separators.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously the code used three different palettes. If the cursor was
over a link, it displayed the link palette with options like "Follow
link". If that wasn't the case, it checked for image, and displayed
options to act on it like "Keep image". Otherwise, if the cursor was
over a user selected text, it displayed the palette to "Copy text".
But as the bug #4262 state, those cases are not exclusive. For
example, the user can pop-up the palette over an image which is also a
link, and also user selected. In that case, all the options should be
displayed. This commit does so.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
|
|
|
|
|
|
| |
This is part of making the palette handle images which are also links.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
|
|
|
|
| |
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
|
|
|
|
|
|
|
|
| |
The toolkit now pops-down the Palette when an item is activated. We
do not have to do it manually anymore.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
|