cc-input-chooser: Fix build without IBus
network-dialogs: Don't use deprecated API