Remove arrow icons from project folders in sidebar

This commit is contained in:
Pavel Baksy 2025-12-20 01:33:53 +01:00
parent 0d2a70f425
commit e758793423
2 changed files with 0 additions and 9 deletions

View File

@ -33,12 +33,6 @@
<property name="margin-top">6</property>
<property name="margin-bottom">6</property>
<child>
<object class="GtkImage" id="expand_icon">
<property name="icon-name">go-next-symbolic</property>
</object>
</child>
<child>
<object class="GtkImage" id="project_icon">
<property name="icon-name">folder-symbolic</property>

View File

@ -27,7 +27,6 @@ class ProjectItem(Gtk.Box):
__gtype_name__ = 'ProjectItem'
expand_icon = Gtk.Template.Child()
project_icon = Gtk.Template.Child()
name_label = Gtk.Template.Child()
requests_revealer = Gtk.Template.Child()
@ -92,8 +91,6 @@ class ProjectItem(Gtk.Box):
"""Toggle expansion."""
self.expanded = not self.expanded
self.requests_revealer.set_reveal_child(self.expanded)
icon_name = "go-down-symbolic" if self.expanded else "go-next-symbolic"
self.expand_icon.set_from_icon_name(icon_name)
def refresh(self):
"""Refresh from project data."""