From bdaa3d451aed30cc0fbfdbeeaa0364c4e2f74d1d Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Sat, 28 Apr 2018 18:54:36 +0300 Subject: [PATCH] PreferenceDialog: composed->apply. --- src/PreferencesDialog.vala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 (); }