Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/palettes.py
Commit message (Collapse)AuthorAgeFilesLines
* Workaround for #4638Anubhav Jaiswal2014-02-281-0/+2
|
* Palette: use URL of the image when there is an image with a linkManuel Quiñones2013-10-211-2/+2
| | | | Fixes: keep image doesn't work if the image is also a link.
* Palette for selected text: try to add the inner text as title #4262Manuel Quiñones2013-04-161-8/+4
| | | | | | | | | | | | 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>
* Palette: add separators to sections #4262Manuel Quiñones2013-04-161-0/+18
| | | | | | | To make the user better distinguish the different sections link/image/selection, add line separators. Signed-off-by: Manuel Quiñones <manuq@laptop.org>
* Palette: join the different pallettes in one palette with sections - SL #4262Manuel Quiñones2013-04-161-100/+68
| | | | | | | | | | | | | | | 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>
* Palette: restructure the checks for link, image, selection - SL #4262Manuel Quiñones2013-04-151-3/+9
| | | | | | This is part of making the palette handle images which are also links. Signed-off-by: Manuel Quiñones <manuq@laptop.org>
* Palettes: remove owner_document, is not usedManuel Quiñones2013-04-151-9/+6
| | | | Signed-off-by: Manuel Quiñones <manuq@laptop.org>
* Adapt to PaletteMenu changes for popdown on item activation - SL #4253Manuel Quiñones2012-12-101-12/+0
| | | | | | | | 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>
*