[dconf-editor] Fix commit 19239e65df regarding root_button.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf-editor] Fix commit 19239e65df regarding root_button.
- Date: Sun, 23 Sep 2018 13:44:32 +0000 (UTC)
commit 3ebbdf109d76835e6c4b6c98d3e19f586b093bff
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Sun Sep 23 15:43:15 2018 +0200
Fix commit 19239e65df regarding root_button.
editor/pathbar.vala | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/editor/pathbar.vala b/editor/pathbar.vala
index 6dd9572..6ac92b9 100644
--- a/editor/pathbar.vala
+++ b/editor/pathbar.vala
@@ -59,7 +59,11 @@ private class PathBar : Box
if (type == ViewType.SEARCH)
return;
+ _set_path (type, path);
update_active_button_cursor (type, ref active_button);
+ }
+ private void _set_path (ViewType type, string path)
+ {
update_config_style_class (type == ViewType.CONFIG, get_style_context ()); // TODO create
gtk_style_context_toggle_class()
activate_item (root_button, path == "/");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]