def __init__(self, ic: IdentityController, api_factory: APIFactory):
        Gtk.Application.__init__(self,
                                 application_id='today.sam.reddit-is-gtk')
        self.connect('startup', self.__do_startup_cb)
        GLib.set_application_name("Something For Reddit")
        GLib.set_prgname("reddit-is-gtk")
        self._w = None
        self._queue_uri = None
        self._ic = ic
        self._api_factory = api_factory