refactor: setup OK acts transactional now; apply staged theme before save, roll back on fail

This commit is contained in:
2026-03-17 11:01:40 -06:00
parent 0cfb63f301
commit b7e4548d2a
3 changed files with 21 additions and 3 deletions

View File

@@ -14,6 +14,7 @@ GtkWidget *theme_preferences_create_color_page (GtkWindow *parent,
gboolean *color_change_flag);
void theme_preferences_apply_to_session (session_gui *gui, InputStyle *input_style);
void theme_preferences_stage_begin (void);
void theme_preferences_stage_apply (void);
void theme_preferences_stage_commit (void);
void theme_preferences_stage_discard (void);