<commit_before>// This file is part of GNOME Boxes. License: LGPLv2+

private enum Boxes.UIState {
    NONE,
    COLLECTION,
    CREDS,
    DISPLAY,
    SETTINGS,
    WIZARD,
    PROPERTIES
}

private interface Boxes.UI: GLib.Object {
    public abstract UIState previous_ui_state { get; protected set; }
    public abstract UIState ui_state { get; protected set; }

    public void set_state (UIState new_state) {
        if (ui_state == new_state)
            return;

        previous_ui_state = ui_state;
        ui_state = new_state;
    }
}
<commit_msg>uistate: Removed unneeded ui state SETTINGS<commit_after>// This file is part of GNOME Boxes. License: LGPLv2+

private enum Boxes.UIState {
    NONE,
    COLLECTION,
    CREDS,
    DISPLAY,
    WIZARD,
    PROPERTIES
}

private interface Boxes.UI: GLib.Object {
    public abstract UIState previous_ui_state { get; protected set; }
    public abstract UIState ui_state { get; protected set; }

    public void set_state (UIState new_state) {
        if (ui_state == new_state)
            return;

        previous_ui_state = ui_state;
        ui_state = new_state;
    }
}

{'fraction_non_alphanumeric': 0.07583774250440917, 'fraction_numerical': 0.001763668430335097, 'mean_word_length': 2.6731391585760518, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3455162', 'n_tokens_mistral': 382, 'n_tokens_neox': 372, 'n_words': 106}