FWIW I was just discussing this with Benjamin Keyser, and he said
(paraphrasing), "Why not rename those properties to something like
isAppIcon? Then you wouldn't have to remember that app icons get frames
and others don't, you're just being asked whether it's an icon for an
app."

That would raise the API quality from roughly "Read the implementation
and you'll get it right" to roughly "The name tells you how to use it"
-- roughly, because the property is optional so engineers might still
err by omission. I'm sure dedicated API designers can do better than
Benjamin or I can. ;-)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1363015

Title:
  App icons require shaping at every callsite

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/notify-osd/+bug/1363015/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to