lp:~larsu/ubuntu-ui-toolkit/custom-icon-lookup2

Created by Lars Karlitski and last modified
Get this branch:
bzr branch lp:~larsu/ubuntu-ui-toolkit/custom-icon-lookup2
Only Lars Karlitski can upload to this branch. If you are Lars Karlitski please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Lars Karlitski
Project:
Ubuntu UI Toolkit
Status:
Merged

Recent revisions

1228. By Lars Karlitski

unitythemeiconprovider: manually load icons

Previously, UnityThemeIconProvider used QIcon::fromTheme() to lookup and load
icons. That function uses fdo's default icon lookup algorithm: it looks at the
current theme and all parent themes for each icon in turn. We'd prefer a
breadth-first search, where all icon names are looked up in the current theme
before falling back to the parent themes (see lp: #1324184). This patch
implements fdo's FindBestIcon() algorithm, which behaves like that.

It also now properly support rectangular icons and always returns an icon with
the requested size (adjusted for preserving the aspect ratio).

As a result, the Icon component is much simpler and only requires height to be
set for rectangular icons.

1227. By Cris Dywan

Fix wrong sheet labels and pick up dtr strings
. Fixes: https://bugs.launchpad.net/bugs/1354485.

Approved by Zsombor Egri, PS Jenkins bot.

1226. By Zsombor Egri

Dialog title is wrapped into maximum two lines, then elides. Fixes: https://bugs.launchpad.net/bugs/1354376.

Approved by PS Jenkins bot, Tim Peeters.

1225. By Tim Peeters

Fix header test.

Approved by PS Jenkins bot, Zsombor Egri.

1224. By Zoltan Balogh

Sync from the trunk

1223. By Zsombor Egri

Thin divider adjustments.

Approved by Christian Dywan, PS Jenkins bot.

1222. By Florian Boucault

Page: only compile and load ToolbarItems if strictly necessary.

Approved by Zsombor Egri, PS Jenkins bot.

1221. By Ugo Riboni

Disable the mousearea on top of the content when using the new header, as it is useless and it interferes with other input elements in the content area. Fixes: https://bugs.launchpad.net/bugs/1358327.

Approved by PS Jenkins bot.

1220. By Florian Boucault

Fixed usage of images across the board:

* Made images as small as possible:
  - ListItemDivider6px.png
  - bubble_shadow*.png
  - header_overflow_dropshadow.png
* Removed direct references to @GU in OptionSelector.
* Button's stroke_button.png now loaded only when necessary, asynchronously and not cached.
* Removed unused ListItemDivider24px.png.

Approved by PS Jenkins bot, Zsombor Egri.

1219. By Cris Dywan

Update caret visuals and position.

Approved by PS Jenkins bot, Zsombor Egri.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:ubuntu-ui-toolkit
This branch contains Public information 
Everyone can see this information.

Subscribers