[dconf-editor] Fix double warning.
- From: Arnaud Bonatti <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf-editor] Fix double warning.
- Date: Wed, 14 Feb 2018 13:37:14 +0000 (UTC)
commit 70752e8bb7c1f68b5a91a43e07fd522c8326dd93
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Wed Feb 14 14:36:24 2018 +0100
Fix double warning.
editor/registry-info.vala | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/editor/registry-info.vala b/editor/registry-info.vala
index 9134824..3057818 100644
--- a/editor/registry-info.vala
+++ b/editor/registry-info.vala
@@ -153,9 +153,6 @@ class RegistryInfo : Grid, BrowsableView
label.show ();
add_row_from_widget (_("Current value"), label, null);
- if (key is GSettingsKey && ((GSettingsKey) key).error_hard_conflicting_key)
- return;
-
add_separator ();
KeyEditorChild key_editor_child = create_child (key, has_schema, modifications_handler);
@@ -168,6 +165,9 @@ class RegistryInfo : Grid, BrowsableView
}
one_choice_warning_revealer.set_reveal_child (is_key_editor_child_single);
+ if (key is GSettingsKey && ((GSettingsKey) key).error_hard_conflicting_key)
+ return;
+
ulong value_has_changed_handler = key_editor_child.value_has_changed.connect ((is_valid) => {
if (modifications_handler.should_delay_apply (tmp_string))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]