[dconf-editor] Do not try to access the RegistryInfo of a ghost key.
- From: Arnaud Bonatti <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf-editor] Do not try to access the RegistryInfo of a ghost key.
- Date: Tue, 19 Jul 2016 23:04:59 +0000 (UTC)
commit a48a46ef0125e36ca907103c3092066fa9fde011
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Wed Jul 20 01:04:51 2016 +0200
Do not try to access the RegistryInfo of a ghost key.
editor/registry-view.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/editor/registry-view.vala b/editor/registry-view.vala
index b1036ad..b87569c 100644
--- a/editor/registry-view.vala
+++ b/editor/registry-view.vala
@@ -456,7 +456,7 @@ class RegistryView : Grid
else if (!object.is_view)
{
Key key = (Key) object;
- if (key_matches (key, search_entry.text) && properties_view.populate_properties_list_box
(revealer, key))
+ if ((key.has_schema || !((DConfKey) key).is_ghost) && key_matches (key,
search_entry.text) && properties_view.populate_properties_list_box (revealer, key))
{
dir_tree_selection.select_iter (iter);
update_current_path (object.full_name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]