I personally would prefer to do something like this:
button = gtk.Button(_("_Remove Packages"))
image = gtk.image_new_from_stock(gtk.STOCK_CANCEL, gtk.ICON_SIZE_BUTTON)
button.set_image(image)
dialog.add_action_widget(button, gtk.RESPONSE_CANCEL)
Just my personal preference though.
--
Ambiguous wording in confirmation alert box
https://bugs.launchpad.net/bugs/349336
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs