Comment 24 for bug 349336

Revision history for this message
Matt (mjz) wrote :

Hmm, I just tried it and the buttons were the same size for me. Maybe something like this will work better?

button = dialog.add_button(_("Remove Packages"), self.gtk.RESPONSE_YES)
image = self.gtk.image_new_from_stock(self.gtk.STOCK_OK, self.gtk.ICON_SIZE_BUTTON)
button.set_image(image)

I have no idea why the size would be different; I'd never heard of either method changing the button size.