• Iain Lane's avatar
    search-provider: Populate the model in startup · 6a2b5bbd
    Iain Lane authored
    If the translations are stripped off into gettext .mo files, as happens
    on Ubuntu, we need to be operating in the right locale so that
    g_desktop_app_info_get_description (et al.) read them out correctly.
    Previously we were doing work in init(), which is after gtk_init() calls
    Move the population of the model to startup(), and chain up first, so
    that it happens after we're fully initialised (including the locale).
control-center-search-provider.c 4.82 KB