e38c26894b
This allows passing an optional icon parameter to addAction() so that a PopupImageMenuItem instance is created instead of a PopupMenuItem if an icon is specified. https://bugzilla.gnome.org/show_bug.cgi?id=782166