[gnome-builder/wip/exalm/lists: 2/6] Consistently use .navigation-sidebar for sidebars
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/exalm/lists: 2/6] Consistently use .navigation-sidebar for sidebars
- Date: Mon, 25 Jul 2022 04:48:50 +0000 (UTC)
commit d364583c4bed7e6f104b8e2e04893bcff31bcb65
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Mon Jul 25 08:15:13 2022 +0400
Consistently use .navigation-sidebar for sidebars
src/plugins/project-tree/gbp-project-tree-pane.ui | 1 +
src/plugins/testui/gbp-testui-panel.ui | 3 +++
src/plugins/todo/gbp-todo-panel.c | 2 ++
3 files changed, 6 insertions(+)
---
diff --git a/src/plugins/project-tree/gbp-project-tree-pane.ui
b/src/plugins/project-tree/gbp-project-tree-pane.ui
index 2715ffde5..b14982cb4 100644
--- a/src/plugins/project-tree/gbp-project-tree-pane.ui
+++ b/src/plugins/project-tree/gbp-project-tree-pane.ui
@@ -10,6 +10,7 @@
<property name="visible">true</property>
<style>
<class name="project-tree"/>
+ <class name="navigation-sidebar"/>
</style>
</object>
</child>
diff --git a/src/plugins/testui/gbp-testui-panel.ui b/src/plugins/testui/gbp-testui-panel.ui
index bdf6f8827..62047fb7e 100644
--- a/src/plugins/testui/gbp-testui-panel.ui
+++ b/src/plugins/testui/gbp-testui-panel.ui
@@ -53,6 +53,9 @@
</property>
</object>
</property>
+ <style>
+ <class name="navigation-sidebar"/>
+ </style>
</object>
</child>
</object>
diff --git a/src/plugins/todo/gbp-todo-panel.c b/src/plugins/todo/gbp-todo-panel.c
index e1beb3837..a2fb3845f 100644
--- a/src/plugins/todo/gbp-todo-panel.c
+++ b/src/plugins/todo/gbp-todo-panel.c
@@ -322,6 +322,8 @@ gbp_todo_panel_init (GbpTodoPanel *self)
ide_fancy_tree_view_set_data_func (IDE_FANCY_TREE_VIEW (self->tree_view),
gbp_todo_panel_cell_data_func, NULL, NULL);
+
+ gtk_widget_add_css_class (GTK_WIDGET (self->tree_view), "navigation-sidebar");
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]