[dconf-editor] Fix fun bug.
- From: Arnaud Bonatti <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf-editor] Fix fun bug.
- Date: Wed, 17 Jan 2018 20:54:26 +0000 (UTC)
commit f8537c28f8323366b85e909537a7fad06e882905
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Wed Jan 17 21:54:12 2018 +0100
Fix fun bug.
editor/dconf-window.vala | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/editor/dconf-window.vala b/editor/dconf-window.vala
index e75bbdc..4519d0d 100644
--- a/editor/dconf-window.vala
+++ b/editor/dconf-window.vala
@@ -462,14 +462,14 @@ class DConfWindow : ApplicationWindow
fallback_path = SettingsModel.get_parent_path (fallback_path);
found_object = model.get_directory (fallback_path);
}
+ if (not_found)
+ cannot_find_folder (full_name); // do not place after, full_name is in some cases changed by
set_directory()...
+
if (selected_or_empty == "")
set_directory ((!) found_object, pathbar.get_selected_child (fallback_path));
else
set_directory ((!) found_object, selected_or_empty);
- if (not_found)
- cannot_find_folder (full_name);
-
search_bar.search_mode_enabled = false; // do last to avoid flickering RegistryView before
PropertiesView when selecting a search result
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]