diff --git a/src/PreferencesDialog.vala b/src/PreferencesDialog.vala index 849b0fe..a447493 100644 --- a/src/PreferencesDialog.vala +++ b/src/PreferencesDialog.vala @@ -4,7 +4,7 @@ namespace LAview.DataExample { class PreferencesDialog : GLib.Object { Dialog dialog; - public bool composed { get; private set; default = false; } + public bool apply { get; private set; default = false; } public PreferencesDialog (GLib.Object parent) throws Error { var builder = new Builder (); @@ -24,18 +24,18 @@ namespace LAview.DataExample { } public void show_all () { - composed = false; + apply = false; dialog.run (); } [CCode (instance_pos = -1)] public void button_apply_clicked (Button button) { - composed = true; + apply = true; } [CCode (instance_pos = -1)] public void button_ok_clicked (Button button) { - composed = true; + apply = true; dialog.hide (); }