• Joaquim Rocha's avatar
    region: Reuse the input chooser instance · abb05928
    Joaquim Rocha authored
    The language input chooser is being created and destroyed every time
    it is opened and closed. This is noticeably slow and is hardly
    necessary as the values it contains should not change.
    
    To fix this, these changes reuse the same instance of the input chooser
    (by hiding and showing it) instead of renewing it.
    The input chooser is also now shown using gtk_dialog_run to avoid having
    it destroyed from the default delete event.
    abb05928
cc-region-panel.c 62.9 KB