summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs/persistenttooltip.py
Commit message (Collapse)AuthorAgeFilesLines
* bitbake: goggle/image-writer: Drop since bitrotting and no longer usedRichard Purdie2016-06-021-186/+0
| | | | | | | | | | | The upgrade to python3 is the final nail in the coffin for image-writer and the goggle UI. Neither seem used or recieve patches and are based on old versions of GTK+ so drop them, and the remaining crumbs support pieces. (Bitbake rev: ee7df1ca00c76f755057c157c093294efb9078d8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: add original url show function with the tooltip hyperlink for userLiming An2012-05-091-0/+19
| | | | | | | | | | | | | When case about No browser, such as running in 'Build Appliance', user can't open the hyper link, so add this work around for user. (Checking the browser is avaiable or not is hard by different system and browser type) [YOCTO #2340] (Bitbake rev: 02cc701869bceb2d0e11fe3cf51fb0582cda01b0) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: add the parent window to 'binb' popup window for managing itLiming An2012-04-161-1/+5
| | | | | | | | | | The 'binb' popup window should be "set transient for" the main application window which they were spawned from. (Bitbake rev: a6f45b23851e22c7793d9a534fd197316bb5b9b8) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs/persistenttooltip: replace 2.22 APIJoshua Lock2012-04-111-1/+1
| | | | | | | | | CentOS 6.x doesn't ship with new enough pygtk for this API. (Bitbake rev: 2b6ce54cdc23c5fc1325e42634287134f55aacbf) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs/persistenttooltip: ensure a reasonable minimum sizeJoshua Lock2012-03-251-0/+3
| | | | | | | | | | The persistent tooltip looks a little weird when it's too small, request that the toolkit and WM give it a reasonable minimum size. (Bitbake rev: 637ea3671dda9c5a1065f992fd9ee87d63043cf4) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs/persistenttooltip: layout tweaksJoshua Lock2012-03-251-12/+12
| | | | | | | | | | The design documents have the close button vertically aligned with the tooltip contents - reorganise the interal widget layout to achieve this. (Bitbake rev: 4f8c36226867291c7b6c413ee2570d61a326ec47) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/persistenttooltip: fix whitespaceJoshua Lock2012-03-221-132/+132
| | | | | | | | | | | We use 4 spaces, not a tab, in BitBake (From Poky rev: 7d9c9fd7c267d69bab51590074d66a2d68e98ca6) (Bitbake rev: 7658cd6d8e0e558f60df72b294019a40c27bc703) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/persistenttooltip: fix colours on darker themesJoshua Lock2012-03-221-5/+21
| | | | | | | | | | | | | | | Darker gtk+ themes, such as the one used in Ubuntu Unity, revealed that the PersistentTooltip styling wasn't setting the label colour correctly. Set the label foreground colour to the tooltip_fg_colour value as read from gtk-color-scheme property of the system settings. (From Poky rev: 0934cfcea5986dbdc50e7159ee907c70b0b3e587) (Bitbake rev: ab15ef585e51e4c85a4a55aa6b35fbf3b53f3805) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/persistenttooltip: tweak bordersJoshua Lock2012-03-221-2/+6
| | | | | | | | | | | | | Change the layout and borders so that the close button is flush with the edge of the tooltip window yet leave the contents with a small border such that text isn't flush with the window edge. (From Poky rev: 5a0891d144de5d3f73c51adef5a30492a679c66a) (Bitbake rev: f652d9d28d69a04bc9361599d173625378ac8d33) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/persistenttooltip: try to reflect WM close button positionJoshua Lock2012-03-201-1/+23
| | | | | | | | | | | | | | When the user is running a desktop where the close button is on the left we try to detect that and position the tooltip close button appropriately. Where we can't easily determine this we default to placing the close button on the right. Tested on Ubuntu/Unity and Fedora/Gnome Shell. (Bitbake rev: 09147098a63c33dc05dc39b7fe4da4df8e2dbd4c) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* crumbs/persistenttooltip: a new Gtk+ widget for use in HobJoshua Lock2012-03-121-0/+118
The Hob interaction design calls for a top level widget which shows a persistent tooltip. This tooltip will not disappear until the user explicitly closes it. This allows us to provide clickable hyperlinks, longer instructions and deeper information in the tooltips. Note: by design the tooltip should dismiss when the user clicks off it, this implementation does include that functionality. It's a to do item. (Bitbake rev: b310fd429150d3a96ecde477934fffad4b4031da) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>