Remove arrow icons from project folders in sidebar
This commit is contained in:
parent
fc2137c607
commit
99fc7e0e3b
@ -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>
|
||||
|
||||
@ -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."""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user