Fix signal handler for apply-to-selection icons

Thanks to Steven Ulrick for the bug report.

https://bugzilla.gnome.org/show_bug.cgi?id=736315