Fix alignment and add icon in the uninstall confirm dialog (NB#154429)
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Tue, 23 Feb 2010 15:21:16 +0000 (16:21 +0100)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Tue, 23 Feb 2010 18:10:58 +0000 (19:10 +0100)
commit33b5617489d7c8468e5ddf6d698efe1fba9b6d36
tree39df9df4ce2c70938703fc1dc6bea30619ac92d0
parent01acf82d5548c4bdb91e5708c4c94caf9fb7a028
Fix alignment and add icon in the uninstall confirm dialog (NB#154429)

* src/util.cc (get_package_icon): New function
  (ask_yes_no_with_details): if there's a package info and the details are for
  uninstall, show the icon besides the question.
  (install_confirm): move out code to the new function
src/util.cc